From: Christian Fischer <[email protected]>

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 <[email protected]>
---
 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

Reply via email to