diff options
author | Liam Girdwood <lrg@slimlogic.co.uk> | 2010-03-26 16:05:54 -0400 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2010-04-28 08:27:18 -0400 |
commit | cf134d5bfb19cdee922b95738ce3cfe86c0e8f7a (patch) | |
tree | 2cc868a37a693b32092b1f09170a3bffb51c86c3 /sound | |
parent | 1849235876b046e26a07e33972906bd23fbb8705 (diff) |
ASoC: tlv320dac33 - disable regulators at i2c remove()
Acked-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/tlv320dac33.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/tlv320dac33.c b/sound/soc/codecs/tlv320dac33.c index 3eddaec728c1..54b2a0508a11 100644 --- a/sound/soc/codecs/tlv320dac33.c +++ b/sound/soc/codecs/tlv320dac33.c | |||
@@ -1584,6 +1584,7 @@ static int __devexit dac33_i2c_remove(struct i2c_client *client) | |||
1584 | if (dac33->irq >= 0) | 1584 | if (dac33->irq >= 0) |
1585 | free_irq(dac33->irq, &dac33->codec); | 1585 | free_irq(dac33->irq, &dac33->codec); |
1586 | 1586 | ||
1587 | regulator_bulk_disable(ARRAY_SIZE(dac33->supplies), dac33->supplies); | ||
1587 | regulator_bulk_free(ARRAY_SIZE(dac33->supplies), dac33->supplies); | 1588 | regulator_bulk_free(ARRAY_SIZE(dac33->supplies), dac33->supplies); |
1588 | 1589 | ||
1589 | destroy_workqueue(dac33->dac33_wq); | 1590 | destroy_workqueue(dac33->dac33_wq); |