MLK-19733-3: ASoC: imx-wm8958: Remove duplicate jack kcontrol
We first add the jack kcontrol in commit c2c7959e ("MLK-11479-09 pulseaudio5.0 mute Headphone volume when Headphone plugged") After that there is change in kernel by commit f63e8581 ("ASoC: jack: create kctls according to jack pins info"), the jack kcontrol will be created with snd_soc_jack_add_pins. So our change for jack kcontrol in machine driver is not need now, for driver already call imx_wm8958_gpio_init -> snd_soc_card_jack_new -> snd_soc_jack_add_pins. otherwise the jack kcontrol will be created twice. Signed-off-by:Shengjiu Wang <shengjiu.wang@nxp.com> (cherry picked from commit 696ff858bb3a484c2ec105c62b29f39e0e61905b) Signed-off-by:
Vipul Kumar <vipul_kumar@mentor.com> Signed-off-by:
Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
Please register or sign in to comment