[alsa-devel] [PATCH] ASoC: SAMSUNG: Debug wrong parameter

Seungwhan Youn sw.youn at samsung.com
Wed Dec 22 10:46:24 CET 2010

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 at samsung.com>
This patch-mail is just for sure about mail-delivery, because privious mail
that I sent(with same subject and content) doesn't look deliver to alsa-devel
mailing list. So, if you received same mail before few hours ago, please
ignore this mail.


 sound/soc/samsung/goni_wm8994.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/soc/samsung/goni_wm8994.c b/sound/soc/samsung/goni_wm8994.c
index cc8528c..34dd9ef 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)
 	/* Headset jack detection */
-	ret = snd_soc_jack_new(&goni, "Headset Jack",
+	ret = snd_soc_jack_new(codec, "Headset Jack",
 	if (ret)

More information about the Alsa-devel mailing list