Commit cf134d5b authored by Liam Girdwood's avatar Liam Girdwood

ASoC: tlv320dac33 - disable regulators at i2c remove()

Acked-by: default avatarPeter Ujfalusi <peter.ujfalusi@nokia.com>
Acked-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
parent 18492358
...@@ -1584,6 +1584,7 @@ static int __devexit dac33_i2c_remove(struct i2c_client *client) ...@@ -1584,6 +1584,7 @@ static int __devexit dac33_i2c_remove(struct i2c_client *client)
if (dac33->irq >= 0) if (dac33->irq >= 0)
free_irq(dac33->irq, &dac33->codec); free_irq(dac33->irq, &dac33->codec);
regulator_bulk_disable(ARRAY_SIZE(dac33->supplies), dac33->supplies);
regulator_bulk_free(ARRAY_SIZE(dac33->supplies), dac33->supplies); regulator_bulk_free(ARRAY_SIZE(dac33->supplies), dac33->supplies);
destroy_workqueue(dac33->dac33_wq); destroy_workqueue(dac33->dac33_wq);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment