diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-11-26 14:57:52 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-11-27 06:14:39 -0500 |
commit | 68d27bc63c4f331c912dfb92168f5fe4753c61c9 (patch) | |
tree | b6cec29daeb146cba374b7a6e4de5a3fd0449b16 | |
parent | f114040e3ea6e07372334ade75d1ee0775c355e1 (diff) |
ASoC: lm49453: 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.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/codecs/lm49453.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sound/soc/codecs/lm49453.c b/sound/soc/codecs/lm49453.c index c1ae5764983f..c4dfde9bdf1c 100644 --- a/sound/soc/codecs/lm49453.c +++ b/sound/soc/codecs/lm49453.c | |||
@@ -1395,15 +1395,7 @@ static struct snd_soc_dai_driver lm49453_dai[] = { | |||
1395 | }, | 1395 | }, |
1396 | }; | 1396 | }; |
1397 | 1397 | ||
1398 | /* power down chip */ | ||
1399 | static int lm49453_remove(struct snd_soc_codec *codec) | ||
1400 | { | ||
1401 | lm49453_set_bias_level(codec, SND_SOC_BIAS_OFF); | ||
1402 | return 0; | ||
1403 | } | ||
1404 | |||
1405 | static struct snd_soc_codec_driver soc_codec_dev_lm49453 = { | 1398 | static struct snd_soc_codec_driver soc_codec_dev_lm49453 = { |
1406 | .remove = lm49453_remove, | ||
1407 | .set_bias_level = lm49453_set_bias_level, | 1399 | .set_bias_level = lm49453_set_bias_level, |
1408 | .controls = lm49453_snd_controls, | 1400 | .controls = lm49453_snd_controls, |
1409 | .num_controls = ARRAY_SIZE(lm49453_snd_controls), | 1401 | .num_controls = ARRAY_SIZE(lm49453_snd_controls), |