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)
committerpopcornmix <popcornmix@gmail.com>
Wed, 27 Jan 2021 19:13:12 +0000 (19:13 +0000)
commitc0a622f4e0bd4978050142d1635949cbfc3f7b65
treed4fa8cc38cb9a3328c948584f4d710c1526fc275
parent5ad79a130d73adc0ed2011a7210aec6284b9f9e9
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