diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2015-04-27 22:13:24 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-04-27 22:34:45 +0200 |
commit | bd1204cb51f15d202f95222e873a94ed5d07b784 (patch) | |
tree | 1613bc56de735f9b572c9eb579c999439fed4d3f /sound/soc/codecs/wm8737.c | |
parent | ASoC: Add helper functions bias level management (diff) | |
download | linux-bd1204cb51f15d202f95222e873a94ed5d07b784.tar.xz linux-bd1204cb51f15d202f95222e873a94ed5d07b784.zip |
ASoC: Route all bias level updates through the core
Use the new snd_soc_codec_force_bias_level() helper function to invoke the
bias_level callback of a driver instead of calling the callback by hand.
Currently the effect of this is the same, but having all bias level updates
go through a central place will allow us to move more of the bias level
management into the DAPM core.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/wm8737.c')
-rw-r--r-- | sound/soc/codecs/wm8737.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8737.c b/sound/soc/codecs/wm8737.c index ada9ac1ba2c6..40e6acb4f3f4 100644 --- a/sound/soc/codecs/wm8737.c +++ b/sound/soc/codecs/wm8737.c @@ -560,7 +560,7 @@ static int wm8737_probe(struct snd_soc_codec *codec) snd_soc_update_bits(codec, WM8737_RIGHT_PGA_VOLUME, WM8737_RVU, WM8737_RVU); - wm8737_set_bias_level(codec, SND_SOC_BIAS_STANDBY); + snd_soc_codec_force_bias_level(codec, SND_SOC_BIAS_STANDBY); /* Bias level configuration will have done an extra enable */ regulator_bulk_disable(ARRAY_SIZE(wm8737->supplies), wm8737->supplies); |