Commit d7858bd6 authored by Lars-Peter Clausen's avatar Lars-Peter Clausen Committed by Mark Brown

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: default avatarLars-Peter Clausen <lars@metafoo.de>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent a8093297
...@@ -1448,12 +1448,6 @@ static int adau1373_set_bias_level(struct snd_soc_codec *codec, ...@@ -1448,12 +1448,6 @@ static int adau1373_set_bias_level(struct snd_soc_codec *codec,
return 0; return 0;
} }
static int adau1373_remove(struct snd_soc_codec *codec)
{
adau1373_set_bias_level(codec, SND_SOC_BIAS_OFF);
return 0;
}
static int adau1373_resume(struct snd_soc_codec *codec) static int adau1373_resume(struct snd_soc_codec *codec)
{ {
struct adau1373 *adau1373 = snd_soc_codec_get_drvdata(codec); struct adau1373 *adau1373 = snd_soc_codec_get_drvdata(codec);
...@@ -1488,7 +1482,6 @@ static const struct regmap_config adau1373_regmap_config = { ...@@ -1488,7 +1482,6 @@ static const struct regmap_config adau1373_regmap_config = {
static struct snd_soc_codec_driver adau1373_codec_driver = { static struct snd_soc_codec_driver adau1373_codec_driver = {
.probe = adau1373_probe, .probe = adau1373_probe,
.remove = adau1373_remove,
.resume = adau1373_resume, .resume = adau1373_resume,
.set_bias_level = adau1373_set_bias_level, .set_bias_level = adau1373_set_bias_level,
.idle_bias_off = true, .idle_bias_off = true,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment