[alsa-devel] [PATCH] 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 --- 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.
Thanks, Claude
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) 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)
On Wed, 2010-12-22 at 18:46 +0900, Seungwhan Youn wrote:
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
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.
Thanks, Claude
Acked-by: Liam Girdwood lrg@slimlogic.co.uk
On Wed, Dec 22, 2010 at 06:46:24PM +0900, Seungwhan Youn wrote:
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
Applied, thanks.
participants (3)
-
Liam Girdwood
-
Mark Brown
-
Seungwhan Youn