MLK-19733-1: ASoC: imx-wm8960: 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_wm8960_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 538e8f43b621f93fcf3c2a0fcbf82c3de1a2e36e) Signed-off-by:
Vipul Kumar <vipul_kumar@mentor.com> Signed-off-by:
Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
Loading
Please register or sign in to comment