summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm_hubs.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-02-19 00:05:53 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-02-19 00:05:53 +0100
commit4baafdd76bafc51699a924d2bc1317f50b4ea75f (patch)
tree1cd0e841bdbdc0f5945e7c7ebc42a575960d087e /sound/soc/codecs/wm_hubs.c
parentASoC: Mark WM8958 microphone detection registers readable (diff)
downloadlinux-4baafdd76bafc51699a924d2bc1317f50b4ea75f.tar.xz
linux-4baafdd76bafc51699a924d2bc1317f50b4ea75f.zip
ASoC: Hook wm_hubs micbiases up to CLK_SYS
The microphone detection functionality requires a clock to work. In any non-detection case where the MICBIAS is enabled CLK_SYS will be needed anyway so there is no negative impact on power consumption. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm_hubs.c')
-rw-r--r--sound/soc/codecs/wm_hubs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm_hubs.c b/sound/soc/codecs/wm_hubs.c
index a5c1556e32e6..7b6b3c18e299 100644
--- a/sound/soc/codecs/wm_hubs.c
+++ b/sound/soc/codecs/wm_hubs.c
@@ -675,6 +675,9 @@ SND_SOC_DAPM_OUTPUT("LINEOUT2N"),
};
static const struct snd_soc_dapm_route analogue_routes[] = {
+ { "MICBIAS1", NULL, "CLK_SYS" },
+ { "MICBIAS2", NULL, "CLK_SYS" },
+
{ "IN1L PGA", "IN1LP Switch", "IN1LP" },
{ "IN1L PGA", "IN1LN Switch", "IN1LN" },