ASoC: Acknowledge WM8996 interrupts before acting on them
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 20 Jul 2011 12:49:58 +0000 (13:49 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 8 Aug 2011 05:30:59 +0000 (14:30 +0900)
commit844970916c8e50f630ea1a6ac82f09c42b12660a
tree9b6ce6c046bec61d355aed0b8e482e9ee4ab39e0
parenta9ba615134ad32254fae84f16e1751854755135c
ASoC: Acknowledge WM8996 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>
sound/soc/codecs/wm8996.c