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

This commit is contained in:
Linux Build Service Account 2016-09-29 11:20:32 -07:00 committed by Gerrit - the friendly Code Review server
commit c60a678c0e

View file

@ -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) {