ASoC: Acknowledge WM8962 interrupts before acting on them
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 20 Jul 2011 12:50:10 +0000 (13:50 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 20 Jul 2011 19:50:08 +0000 (20:50 +0100)
commit3198b9eb514fd27dd15c55f36b17ac2cddade1a5
tree410d96c95929162ce55e03708da9f839c388c488
parent09bddc8eb26eeb976efcfde9569b5ad1d9b77574
ASoC: Acknowledge WM8962 interrupts before acting on them

This closes the small race between a status being read in response to an
interrupt and clearing the interrupt, meaning that if the status changes
between those periods we might not get a reassertion of the interrupt.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
sound/soc/codecs/wm8962.c