ASoC: SAMSUNG: Debug wrong parameter
authorSeungwhan Youn <sw.youn@samsung.com>
Wed, 22 Dec 2010 09:46:24 +0000 (18:46 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 22 Dec 2010 11:09:15 +0000 (11:09 +0000)
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 <sw.youn@samsung.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/samsung/goni_wm8994.c

index cc8528c0a49aa3a773809cef8b9c9a20c76a1218..34dd9ef1b9c0f1130bb4f4e7716bf7cc68c08a51 100644 (file)
@@ -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)