summaryrefslogtreecommitdiffstats
path: root/sound/soc/samsung/goni_wm8994.c
diff options
context:
space:
mode:
authorSeungwhan Youn <sw.youn@samsung.com>2010-12-22 18:46:24 +0900
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-12-22 11:09:15 +0000
commitf49be89bb4e235776af08cdcef91a37a0d12aa62 (patch)
tree87bd12edad12736fc37686e5351044bc10bbd7a5 /sound/soc/samsung/goni_wm8994.c
parent1c9e9795b5e2348df619fd6010d7583dc9b8c811 (diff)
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/soc/samsung/goni_wm8994.c')
-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 cc8528c0a49..34dd9ef1b9c 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)