From: Seungwhan Youn Date: Wed, 22 Dec 2010 09:46:24 +0000 (+0900) Subject: ASoC: SAMSUNG: Debug wrong parameter X-Git-Tag: MMI-PSA29.97-13-9~16612^2~1226^2~125 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f49be89bb4e235776af08cdcef91a37a0d12aa62;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- diff --git a/sound/soc/samsung/goni_wm8994.c b/sound/soc/samsung/goni_wm8994.c index cc8528c0a49a..34dd9ef1b9c0 100644 --- a/sound/soc/samsung/goni_wm8994.c +++ b/sound/soc/samsung/goni_wm8994.c @@ -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)