ASoC: Remove redundant set_bias_level() from WM5100 remove()
Subsystems (3)
PATCH 1/1 ASoC: Remove redundant set_bias_level() from WM5100 remove()
The framework should bring the device down before it calls the driver.
Signed-off-by Mark Brown <[email protected]>
--- sound/soc/codecs/wm5100.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
sound/soc/codecs/wm5100.c +0 -2
@@ -2693,8 +2693,6 @@ static int wm5100_remove(struct snd_soc_codec *codec)struct i2c_client *i2c =to_i2c_client (codec->dev);int i; -wm5100_set_bias_level (codec,SND_SOC_BIAS_OFF ); -if (wm5100->pdata.hp_pol) {gpio_free (wm5100->pdata.hp_pol); }
Signature · 1 line
1.7.7.3