public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: sgtl5000: fix powerup/down of micbias-voltage
@ 2018-01-11  8:40 fischerc
  2018-01-11 15:07 ` Mark Brown
  0 siblings, 1 reply; 4+ messages in thread
From: fischerc @ 2018-01-11  8:40 UTC (permalink / raw)
  To: alsa-devel
  Cc: lgirdwood, broonie, perex, tiwai, richard.leitner, fabio.estevam,
	bhumirks, linux-kernel, Christian Fischer

From: Christian Fischer <fischerc@swissphone.de>

The mic-bias-voltage should get powered up/down automatically.
Added missing DAPM_PRE and DAPM_POST widgets to fire up the mic_bias_event function.

Signed-off-by: Christian Fischer <fischerc@swissphone.de>
---
 sound/soc/codecs/sgtl5000.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sound/soc/codecs/sgtl5000.c b/sound/soc/codecs/sgtl5000.c
index f2bb4fe..4973365 100644
--- a/sound/soc/codecs/sgtl5000.c
+++ b/sound/soc/codecs/sgtl5000.c
@@ -260,6 +260,9 @@ static const struct snd_soc_dapm_widget sgtl5000_dapm_widgets[] = {
 
 	SND_SOC_DAPM_PRE("VAG_POWER_PRE", power_vag_event),
 	SND_SOC_DAPM_POST("VAG_POWER_POST", power_vag_event),
+
+	SND_SOC_DAPM_PRE("MIC_BIAS_PRE", mic_bias_event),
+	SND_SOC_DAPM_POST("MIC_BIAS_POST", mic_bias_event),
 };
 
 /* routes for sgtl5000 */
-- 
2.7.4

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

end of thread, other threads:[~2018-01-11 16:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-11  8:40 [PATCH] ASoC: sgtl5000: fix powerup/down of micbias-voltage fischerc
2018-01-11 15:07 ` Mark Brown
2018-01-11 16:14   ` AW: " Fischer, Christian
2018-01-11 16:19     ` Mark Brown

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