summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorSeungwhan Youn <sw.youn@samsung.com>2010-12-22 10:46:24 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-12-22 12:09:15 +0100
commitf49be89bb4e235776af08cdcef91a37a0d12aa62 (patch)
tree87bd12edad12736fc37686e5351044bc10bbd7a5 /sound
parentASoC: Add jack IRQ trace to 88pm860x driver (diff)
downloadlinux-f49be89bb4e235776af08cdcef91a37a0d12aa62.tar.xz
linux-f49be89bb4e235776af08cdcef91a37a0d12aa62.zip
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 <sw.youn@samsung.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/samsung/goni_wm8994.c2
1 files changed, 1 insertions, 1 deletions
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)