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>
Mon, 13 May 2019 23:08:01 +0000 (00:08 +0100)
commit6fa2790354d827f2fe4bf4eab315a802b2a1611a
tree272418ec354bbfa69a0f8f8477e5b6336f3e09de
parentb801e0d0f3bda39128cd3d6a755b5a2a01191604
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