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, 19 Feb 2024 11:33:00 +0000 (11:33 +0000)
commit5f7d82d0d7da9337ebc5e37368bdb0855fabb4e1
treeba307df1820824ec4518e7b1c53046575eda5504
parenta5389958514da3efef2ebf7c0378f189e8f4044d
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