projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1849235
)
ASoC: tlv320dac33 - disable regulators at i2c remove()
author
Liam Girdwood
<lrg@slimlogic.co.uk>
Fri, 26 Mar 2010 20:05:54 +0000
(20:05 +0000)
committer
Liam Girdwood
<lrg@slimlogic.co.uk>
Wed, 28 Apr 2010 12:27:18 +0000
(13:27 +0100)
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>
sound/soc/codecs/tlv320dac33.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/tlv320dac33.c
b/sound/soc/codecs/tlv320dac33.c
index 3eddaec728c1a864aeb1d36ce7d9f765e734e678..54b2a0508a1110a0d510d7dab958507be645693c 100644
(file)
--- 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)
if (dac33->irq >= 0)
free_irq(dac33->irq, &dac33->codec);
+ regulator_bulk_disable(ARRAY_SIZE(dac33->supplies), dac33->supplies);
regulator_bulk_free(ARRAY_SIZE(dac33->supplies), dac33->supplies);
destroy_workqueue(dac33->dac33_wq);