The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] ASoC: simple-card: fix mic jack initialization
@ 2017-05-15 21:00 Stefan Agner
  2017-05-15 23:31 ` Kuninori Morimoto
  2017-05-19 17:03 ` Applied "ASoC: simple-card: fix mic jack initialization" to the asoc tree Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Stefan Agner @ 2017-05-15 21:00 UTC (permalink / raw)
  To: broonie, lgirdwood, perex, tiwai
  Cc: kuninori.morimoto.gx, nikita.yoush, alsa-devel, linux-kernel,
	Stefan Agner

Initialize asoc_simple_card_init_mic with the correct struct
asoc_simple_jack.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Fixes: 9eac361877b3 ("ASoC: simple-card: add new asoc_simple_jack and use it")
---
 sound/soc/generic/simple-card.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/generic/simple-card.c b/sound/soc/generic/simple-card.c
index 2c9dedab5184..bc136d2bd7cd 100644
--- a/sound/soc/generic/simple-card.c
+++ b/sound/soc/generic/simple-card.c
@@ -202,7 +202,7 @@ static int asoc_simple_card_dai_init(struct snd_soc_pcm_runtime *rtd)
 	if (ret < 0)
 		return ret;
 
-	ret = asoc_simple_card_init_mic(rtd->card, &priv->hp_jack, PREFIX);
+	ret = asoc_simple_card_init_mic(rtd->card, &priv->mic_jack, PREFIX);
 	if (ret < 0)
 		return ret;
 
-- 
2.13.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-05-19 17:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-15 21:00 [PATCH] ASoC: simple-card: fix mic jack initialization Stefan Agner
2017-05-15 23:31 ` Kuninori Morimoto
2017-05-19 17:03 ` Applied "ASoC: simple-card: fix mic jack initialization" to the asoc tree Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox