* [PATCH] ASoC: Remove redundant set_bias_level() from WM5100 remove()
@ 2012-01-18 18:49 Mark Brown
0 siblings, 0 replies; only message in thread
From: Mark Brown @ 2012-01-18 18:49 UTC (permalink / raw)
To: Liam Girdwood; +Cc: alsa-devel, patches, Mark Brown
The framework should bring the device down before it calls the driver.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
sound/soc/codecs/wm5100.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/sound/soc/codecs/wm5100.c b/sound/soc/codecs/wm5100.c
index fca7f0a..b22b425 100644
--- a/sound/soc/codecs/wm5100.c
+++ b/sound/soc/codecs/wm5100.c
@@ -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);
}
--
1.7.7.3
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-01-18 18:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-18 18:49 [PATCH] ASoC: Remove redundant set_bias_level() from WM5100 remove() Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).