]> git.karo-electronics.de Git - karo-tx-linux.git/commit
gpio: 104-idio-16: Disable IRQ on device probe
authorWilliam Breathitt Gray <vilhelm.gray@gmail.com>
Sun, 22 Nov 2015 16:38:55 +0000 (11:38 -0500)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 30 Nov 2015 13:42:06 +0000 (14:42 +0100)
commitfb50cdfeeda868ae2bfe7ec2e0afebff53eca2d5
tree6e7cebeae7cba9f05309ac5fe3d5fc55c9698142
parentd9110e9ce7ed98b24fa58764833e89a430843c21
gpio: 104-idio-16: Disable IRQ on device probe

IRQ should be disabled on device probe so that the device IRQ is in a
known starting state. If IRQ is not disabled, interrupts may be reported
as handled by the IRQ handler, despite no irq_unmask calls made by the
user.

Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-104-idio-16.c