ASoC: SAMSUNG: Debug wrong parameter
Subsystems (3)
PATCH 1/1 ASoC: SAMSUNG: Debug wrong parameter
snd_soc_jack_new()'s first parameter was changed from snd_soc_card to snd_soc_codec after Multi-Component support patches. So, this patch fixes parameter that we missed.
Signed-off-by Seungwhan Youn <[email protected]>
--- sound/soc/samsung/goni_wm8994.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/samsung/goni_wm8994.c +1 -1
@@ -131,7 +131,7 @@ static int goni_wm8994_init(struct snd_soc_pcm_runtime *rtd)snd_soc_dapm_sync (dapm);/* Headset jack detection */ - ret =snd_soc_jack_new (&goni,"Headset Jack" , + ret =snd_soc_jack_new (codec,"Headset Jack" ,SND_JACK_HEADSET |SND_JACK_MECHANICAL |SND_JACK_AVOUT , &jack);if (ret)
Signature · 1 line
1.6.2.5