Skip to content

Commit

Permalink
ASoC: tlv320dac33 - disable regulators at i2c remove()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Liam Girdwood committed Apr 28, 2010
1 parent 1849235 commit cf134d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sound/soc/codecs/tlv320dac33.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit cf134d5

Please sign in to comment.