diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2015-04-27 16:13:25 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-04-27 16:34:45 -0400 |
commit | f4bf8d770b58862c2af9d17adc2fee05bef8f2c0 (patch) | |
tree | 0323e26496eb2ebe7cccae6239a03f90463a4b65 /sound/soc/codecs/ak4671.c | |
parent | bd1204cb51f15d202f95222e873a94ed5d07b784 (diff) |
ASoC: Move bias level update to the core
All drivers have the same line at the end of the set_bias_level callback to
update the bias_level state. Move this update into
snd_soc_dapm_force_bias_level() and remove them from the drivers.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/ak4671.c')
-rw-r--r-- | sound/soc/codecs/ak4671.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/ak4671.c b/sound/soc/codecs/ak4671.c index 2a58b1dccd2f..0e59063aeb6f 100644 --- a/sound/soc/codecs/ak4671.c +++ b/sound/soc/codecs/ak4671.c | |||
@@ -577,7 +577,6 @@ static int ak4671_set_bias_level(struct snd_soc_codec *codec, | |||
577 | snd_soc_write(codec, AK4671_AD_DA_POWER_MANAGEMENT, 0x00); | 577 | snd_soc_write(codec, AK4671_AD_DA_POWER_MANAGEMENT, 0x00); |
578 | break; | 578 | break; |
579 | } | 579 | } |
580 | codec->dapm.bias_level = level; | ||
581 | return 0; | 580 | return 0; |
582 | } | 581 | } |
583 | 582 | ||