summaryrefslogtreecommitdiff
path: root/drivers/iio/dac/ad5624r_spi.c
diff options
context:
space:
mode:
authorMaxim Kiselev <bigunclemax@gmail.com>2020-01-15 10:38:11 +0300
committerLinus Walleij <linus.walleij@linaro.org>2020-01-23 15:52:40 +0100
commitd5331ec2cc6e8b79b8b0027091d1ebb395e833b5 (patch)
tree6eaed2221af5daf8ef7d765da069492106ed7b6f /drivers/iio/dac/ad5624r_spi.c
parent366950eeb6ee7ba6693129899452e0ba890cbe4d (diff)
gpio: mvebu: clear irq in edge cause register before unmask edge irq
When input GPIO set from 0 to 1, the interrupt bit asserted in the GPIO Interrupt Cause Register (ICR) even if the corresponding interrupt masked in the GPIO Interrupt Mask Register. Because interrupt mask register only affects assertion of the interrupt bits in Main Interrupt Cause Register and it does not affect the setting of bits in the GPIO ICR. So, there is problem, when we unmask interrupt with already asserted bit in the GPIO ICR, then false interrupt immediately occurs even if GPIO don't change their value since last unmask. Signed-off-by: Maxim Kiselev <bigunclemax@gmail.com> Link: https://lore.kernel.org/r/20200115073811.24438-1-bigunclemax@gmail.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/iio/dac/ad5624r_spi.c')
0 files changed, 0 insertions, 0 deletions