Skip to content
Snippets Groups Projects
user avatar
MLK-19733-2: ASoC: imx-wm8962: Remove duplicate jack kcontrol
Shengjiu Wang authored
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_wm8962_gpio_init -> snd_soc_card_jack_new ->
snd_soc_jack_add_pins. otherwise the jack kcontrol will be created twice.

Signed-off-by: default avatarShengjiu Wang <shengjiu.wang@nxp.com>
(cherry picked from commit 72951c2da09799a32883457834479d6280138fb5)
Signed-off-by: default avatarVipul Kumar <vipul_kumar@mentor.com>
Signed-off-by: default avatarSrikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
1343b528
Name Last commit Last update