[alsa-devel] [PATCH 1/2] ASoC: wm8940: Properly set codec->dapm.bias_level

Axel Lin axel.lin at gmail.com
Wed Oct 26 03:53:41 CEST 2011


Reported-by: Chris Paulson-Ellis <chris at edesix.com>
Signed-off-by: Axel Lin <axel.lin at gmail.com>
---
 sound/soc/codecs/wm8940.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/sound/soc/codecs/wm8940.c b/sound/soc/codecs/wm8940.c
index fec3892..e8a4ca3 100644
--- a/sound/soc/codecs/wm8940.c
+++ b/sound/soc/codecs/wm8940.c
@@ -488,6 +488,8 @@ static int wm8940_set_bias_level(struct snd_soc_codec *codec,
 		break;
 	}
 
+	codec->dapm.bias_level = level;
+
 	return ret;
 }
 
-- 
1.7.5.4





More information about the Alsa-devel mailing list