kernel: bump 5.4 to 5.4.31
[openwrt/staging/hauke.git] / target / linux / bcm27xx / patches-5.4 / 950-0128-gpiolib-Don-t-prevent-IRQ-usage-of-output-GPIOs.patch
index ca66626711d1b105f2f6d54bcde77630de25f9ef..4286abf01adb5a998f4ec5d6f75a1f9a07a5a556 100644 (file)
@@ -26,7 +26,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org>
  /* Device and char device-related information */
  static DEFINE_IDA(gpio_ida);
  static dev_t gpio_devt;
-@@ -3084,8 +3086,8 @@ int gpiod_direction_output(struct gpio_d
+@@ -3091,8 +3093,8 @@ int gpiod_direction_output(struct gpio_d
                value = !!value;
  
        /* GPIOs used for enabled IRQs shall not be set as output */
@@ -37,7 +37,7 @@ Signed-off-by: Phil Elwell <phil@raspberrypi.org>
                gpiod_err(desc,
                          "%s: tried to set a GPIO tied to an IRQ as output\n",
                          __func__);
-@@ -3887,7 +3889,7 @@ int gpiochip_lock_as_irq(struct gpio_chi
+@@ -3894,7 +3896,7 @@ int gpiochip_lock_as_irq(struct gpio_chi
                }
        }