]> 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)
commita3c1d2b09710ab364b58bb1fb7b571dc18b656f5
tree410d96c95929162ce55e03708da9f839c388c488
parent70085586b054dd42143b5276fed665f3131b90cb
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