diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-11-26 20:57:53 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-11-27 11:15:00 +0000 |
commit | 0eef4ed5970a736bf2449b389fb44f6fe3635765 (patch) | |
tree | b716805d2eb238d15ac7e418542c15c2ace123e7 /sound | |
parent | 0c239fa6ebd20dd55d8978502d78b7c17441351a (diff) | |
download | linux-0eef4ed5970a736bf2449b389fb44f6fe3635765.tar.bz2 |
ASoC: sn95031: Cleanup 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>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/sn95031.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/sound/soc/codecs/sn95031.c b/sound/soc/codecs/sn95031.c index 6167c5996d8e..31d97cd5e59b 100644 --- a/sound/soc/codecs/sn95031.c +++ b/sound/soc/codecs/sn95031.c @@ -870,17 +870,8 @@ static int sn95031_codec_probe(struct snd_soc_codec *codec) return 0; } -static int sn95031_codec_remove(struct snd_soc_codec *codec) -{ - pr_debug("codec_remove called\n"); - sn95031_set_vaud_bias(codec, SND_SOC_BIAS_OFF); - - return 0; -} - static struct snd_soc_codec_driver sn95031_codec = { .probe = sn95031_codec_probe, - .remove = sn95031_codec_remove, .set_bias_level = sn95031_set_vaud_bias, .idle_bias_off = true, |