]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbccc052fd9441304ae388157764266f897e73772
tree410d96c95929162ce55e03708da9f839c388c488
parent7537ae2225e40bdb4e0aa9adc9a95e6c0e9c5b88
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