]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: nau8825: set clear_irq when imm IRQ happened
authorJohn Hsu <KCHSU0@nuvoton.com>
Thu, 30 Nov 2017 02:13:17 +0000 (10:13 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 30 Nov 2017 12:28:18 +0000 (12:28 +0000)
commite3fee43a968fd39dcc56be3757fcdfe250964125
tree5042d7946829ac30551f416a4ffdb685d16e53f0
parent226d7449135ffc62866c06d73b28cac90b3f31e4
ASoC: nau8825: set clear_irq when imm IRQ happened

Although the crosstalk is disabled, it is better to set clear_irq
properly when the impedance measurement interrupt happens.
It can avoid that the driver clears other IRQs by accident
if the active_irq has another IRQ events.

Signed-off-by: John Hsu <KCHSU0@nuvoton.com>
Reviewed-by: Wu-Cheng Li <wuchengli@chromium.org>
Tested-by: Wu-Cheng Li <wuchengli@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/nau8825.c