diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-01-31 11:16:47 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-01-31 14:29:58 -0500 |
commit | f959dee9c7b5e36a139e1e8fcfedbddfea65d00d (patch) | |
tree | 4392179b08a3d963d079af1ea78089f7d556f0dd /sound/soc/codecs/wm8993.c | |
parent | 5aa44b132eca1d08f5bb9c5c5cb46eec612db686 (diff) |
ASoC: wm_hubs: Push check for idle_bias_off out into drivers
For later wm_hubs devices we have much less need to keep the biases up
even when using single ended line outputs so flag idle_bias_off for
everything except the WM8993 and WM8994.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm8993.c')
-rw-r--r-- | sound/soc/codecs/wm8993.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm8993.c b/sound/soc/codecs/wm8993.c index 474dc72b4d8d..db51007a6a43 100644 --- a/sound/soc/codecs/wm8993.c +++ b/sound/soc/codecs/wm8993.c | |||
@@ -1622,6 +1622,12 @@ static int wm8993_probe(struct snd_soc_codec *codec) | |||
1622 | wm_hubs_add_analogue_routes(codec, wm8993->pdata.lineout1_diff, | 1622 | wm_hubs_add_analogue_routes(codec, wm8993->pdata.lineout1_diff, |
1623 | wm8993->pdata.lineout2_diff); | 1623 | wm8993->pdata.lineout2_diff); |
1624 | 1624 | ||
1625 | /* If the line outputs are differential then we aren't presenting | ||
1626 | * VMID as an output and can disable it. | ||
1627 | */ | ||
1628 | if (wm8993->pdata.lineout1_diff && wm8993->pdata.lineout2_diff) | ||
1629 | codec->dapm.idle_bias_off = 1; | ||
1630 | |||
1625 | return 0; | 1631 | return 0; |
1626 | 1632 | ||
1627 | } | 1633 | } |