gpiolib: Don't prevent IRQ usage of output GPIOs
authorPhil Elwell <phil@raspberrypi.org>
Tue, 24 Apr 2018 13:42:27 +0000 (14:42 +0100)
committerDom Cobley <popcornmix@gmail.com>
Mon, 21 Mar 2022 16:04:02 +0000 (16:04 +0000)
commit7dedc22a8dce78c61694eb7bd2cef7e7ef5c9665
tree47933fb8823f8f2a1ce95189782db1254f22e86f
parent05f681d66fedf94983ce8e271bcf783caff0c8cc
gpiolib: Don't prevent IRQ usage of output GPIOs

Upstream Linux deems using output GPIOs to generate IRQs as a bogus
use case, even though the BCM2835 GPIO controller is capable of doing
so. A number of users would like to make use of this facility, so
disable the checks.

See: https://github.com/raspberrypi/linux/issues/2527

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
drivers/gpio/gpiolib.c