Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c60a678c authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ASoC: msmcobalt: send ANC config for WCD9340 codec"

parents 45bd3054 a170ccba
Loading
Loading
Loading
Loading
+11 −10
Original line number Diff line number Diff line
@@ -2486,7 +2486,6 @@ static int msm_audrx_init(struct snd_soc_pcm_runtime *rtd)
		goto err_afe_cfg;
	}

	if (!strcmp(dev_name(codec_dai->dev), "tasha_codec")) {
	config_data = msm_codec_fn.get_afe_config_fn(codec,
						     AFE_AANC_VERSION);
	if (config_data) {
@@ -2497,6 +2496,8 @@ static int msm_audrx_init(struct snd_soc_pcm_runtime *rtd)
			goto err_afe_cfg;
		}
	}

	if (!strcmp(dev_name(codec_dai->dev), "tasha_codec")) {
		config_data = msm_codec_fn.get_afe_config_fn(codec,
						AFE_CDC_CLIP_REGISTERS_CONFIG);
		if (config_data) {