Skip to contentSkip to conversation

ASoC: SAMSUNG: Debug wrong parameter

PATCH New Seungwhan Youn 1 participant 1 message Dec 22, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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.

---
 sound/soc/samsung/goni_wm8994.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/samsung/goni_wm8994.c +1 -1
index cc8528c..34dd9ef 100644
@@ -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