ASoC: tlv320dac33: Fix inconsistent spinlock usage
authorPeter Ujfalusi <peter.ujfalusi@nokia.com>
Fri, 18 Mar 2011 13:15:11 +0000 (15:15 +0200)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Tue, 22 Mar 2011 18:10:21 +0000 (18:10 +0000)
commita3b55791b5b2b4b6d31ece9b3975466ec2f07b1b
tree0d7ab82b20190a1a96f1be5023a5fcbe2e655252
parentfa4d1f595a89234647b34a7f507436be873091bc
ASoC: tlv320dac33: Fix inconsistent spinlock usage

The lock is used within the interrupt handler.
Correct the spinlock usage, and use irqsave/irqrestore
flavour of spin_lock/unlock.

Signed-off-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