diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-09-04 13:44:08 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-09-04 15:10:25 -0400 |
commit | d7858bd647cda68bf832997a280a2f44aec01f1b (patch) | |
tree | d1b0ccf6594377e83f1ea60de2b6783348fe83c1 /sound/soc/codecs/adau1373.c | |
parent | a80932979a72ef9d4e66a69520c7588cc6de5699 (diff) |
ASoC: adau1373: Cleanup manual bias level transitions
The ASoC core now takes care of setting the bias level to SND_SOC_BIAS_OFF
when removing the CODEC, 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/soc/codecs/adau1373.c')
-rw-r--r-- | sound/soc/codecs/adau1373.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sound/soc/codecs/adau1373.c b/sound/soc/codecs/adau1373.c index 194756549ef4..7c784ad3e8b2 100644 --- a/sound/soc/codecs/adau1373.c +++ b/sound/soc/codecs/adau1373.c | |||
@@ -1448,12 +1448,6 @@ static int adau1373_set_bias_level(struct snd_soc_codec *codec, | |||
1448 | return 0; | 1448 | return 0; |
1449 | } | 1449 | } |
1450 | 1450 | ||
1451 | static int adau1373_remove(struct snd_soc_codec *codec) | ||
1452 | { | ||
1453 | adau1373_set_bias_level(codec, SND_SOC_BIAS_OFF); | ||
1454 | return 0; | ||
1455 | } | ||
1456 | |||
1457 | static int adau1373_resume(struct snd_soc_codec *codec) | 1451 | static int adau1373_resume(struct snd_soc_codec *codec) |
1458 | { | 1452 | { |
1459 | struct adau1373 *adau1373 = snd_soc_codec_get_drvdata(codec); | 1453 | struct adau1373 *adau1373 = snd_soc_codec_get_drvdata(codec); |
@@ -1488,7 +1482,6 @@ static const struct regmap_config adau1373_regmap_config = { | |||
1488 | 1482 | ||
1489 | static struct snd_soc_codec_driver adau1373_codec_driver = { | 1483 | static struct snd_soc_codec_driver adau1373_codec_driver = { |
1490 | .probe = adau1373_probe, | 1484 | .probe = adau1373_probe, |
1491 | .remove = adau1373_remove, | ||
1492 | .resume = adau1373_resume, | 1485 | .resume = adau1373_resume, |
1493 | .set_bias_level = adau1373_set_bias_level, | 1486 | .set_bias_level = adau1373_set_bias_level, |
1494 | .idle_bias_off = true, | 1487 | .idle_bias_off = true, |