[alsa-devel] [PATCH] ASoC: wm5110: Add missing speaker initialisation

Mark Brown broonie at opensource.wolfsonmicro.com
Fri May 17 17:12:10 CEST 2013


Add callback to initialise the speaker in the core following the recent
changes to handling of integration with the thermal interrupts.

Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
---
 sound/soc/codecs/wm5110.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/soc/codecs/wm5110.c b/sound/soc/codecs/wm5110.c
index e77410e..91a7015 100644
--- a/sound/soc/codecs/wm5110.c
+++ b/sound/soc/codecs/wm5110.c
@@ -1252,6 +1252,8 @@ static int wm5110_codec_probe(struct snd_soc_codec *codec)
 	if (ret != 0)
 		return ret;
 
+	arizona_init_spk(codec);
+
 	snd_soc_dapm_disable_pin(&codec->dapm, "HAPTICS");
 
 	priv->core.arizona->dapm = &codec->dapm;
-- 
1.7.10.4



More information about the Alsa-devel mailing list