projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ASoC: tlv320dac33 - disable regulators at i2c remove()
[firefly-linux-kernel-4.4.55.git]
/
sound
/
soc
/
codecs
/
tlv320dac33.c
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);