Merge "asoc: wcd937x: fix wcd9375 widgets override issue"

This commit is contained in:
Linux Build Service Account 2018-09-04 06:17:53 -07:00 • committed by Gerrit - the friendly Code Review server
commit a69dbed411

View file

@ -1715,12 +1715,7 @@ static int wcd937x_soc_codec_probe(struct snd_soc_codec *codec)
__func__);
goto err_hwdep;
}
ret = snd_soc_dapm_new_widgets(dapm->card);
if (ret < 0) {
dev_err(codec->dev, "%s: Failed to add widgets\n",
__func__);
goto err_hwdep;
}
snd_soc_dapm_sync(dapm);
}
wcd937x->version = WCD937X_VERSION_1_0;
return ret;