diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-11-23 07:37:29 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-11-24 13:26:14 -0500 |
commit | d2a9bc68512696a896abf7a94852c5fb5e6733a1 (patch) | |
tree | abf0e0e1daf08fca881f6e2231d8ad08f465e576 | |
parent | f114040e3ea6e07372334ade75d1ee0775c355e1 (diff) |
ASoC: wm8900: Cleanup manual bias level transitions
Since the ASoC core now takes care of setting the bias level to
SND_SOC_BIAS_OFF when removing the CODEC there is no need to do it manually
anymore either.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/codecs/wm8900.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sound/soc/codecs/wm8900.c b/sound/soc/codecs/wm8900.c index 44a5f1511f0f..3a0d4b7d692f 100644 --- a/sound/soc/codecs/wm8900.c +++ b/sound/soc/codecs/wm8900.c | |||
@@ -1209,16 +1209,8 @@ static int wm8900_probe(struct snd_soc_codec *codec) | |||
1209 | return 0; | 1209 | return 0; |
1210 | } | 1210 | } |
1211 | 1211 | ||
1212 | /* power down chip */ | ||
1213 | static int wm8900_remove(struct snd_soc_codec *codec) | ||
1214 | { | ||
1215 | wm8900_set_bias_level(codec, SND_SOC_BIAS_OFF); | ||
1216 | return 0; | ||
1217 | } | ||
1218 | |||
1219 | static struct snd_soc_codec_driver soc_codec_dev_wm8900 = { | 1212 | static struct snd_soc_codec_driver soc_codec_dev_wm8900 = { |
1220 | .probe = wm8900_probe, | 1213 | .probe = wm8900_probe, |
1221 | .remove = wm8900_remove, | ||
1222 | .suspend = wm8900_suspend, | 1214 | .suspend = wm8900_suspend, |
1223 | .resume = wm8900_resume, | 1215 | .resume = wm8900_resume, |
1224 | .set_bias_level = wm8900_set_bias_level, | 1216 | .set_bias_level = wm8900_set_bias_level, |