Message ID | 1417031880-11364-4-git-send-email-lars@metafoo.de (mailing list archive) |
---|---|
State | Accepted |
Commit | 0eef4ed5970a736bf2449b389fb44f6fe3635765 |
Headers | show |
On Wed, Nov 26, 2014 at 08:57:53PM +0100, Lars-Peter Clausen wrote: > 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. Applied, thanks.
diff --git a/sound/soc/codecs/sn95031.c b/sound/soc/codecs/sn95031.c index 6167c59..31d97cd 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,
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> --- sound/soc/codecs/sn95031.c | 9 --------- 1 file changed, 9 deletions(-)