Skip to content

Commit

Permalink
ASoC: Hook wm_hubs micbiases up to CLK_SYS
Browse files Browse the repository at this point in the history
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>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
  • Loading branch information
Mark Brown committed Feb 22, 2011
1 parent 8ceed34 commit cea2bc5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sound/soc/codecs/wm_hubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -674,6 +674,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" },

Expand Down

0 comments on commit cea2bc5

Please sign in to comment.