kernel: bump 4.14 to 4.14.145
[openwrt/openwrt.git] / target / linux / brcm2708 / patches-4.14 / 950-0280-gpiolib-Don-t-prevent-IRQ-usage-of-output-GPIOs.patch
index dc854fac48736dfbdc362eb5727ac57b46c89286..8562e13c3bbd66dd827f098260d9c2b3f9445b90 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;
-@@ -2307,7 +2309,7 @@ static int _gpiod_direction_output_raw(s
+@@ -2315,7 +2317,7 @@ static int _gpiod_direction_output_raw(s
        int ret;
  
        /* GPIOs used for IRQs shall not be set as output */
@@ -35,7 +35,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__);
-@@ -2822,7 +2824,7 @@ int gpiochip_lock_as_irq(struct gpio_chi
+@@ -2830,7 +2832,7 @@ int gpiochip_lock_as_irq(struct gpio_chi
                        set_bit(FLAG_IS_OUT, &desc->flags);
        }