kernel: bump 4.14 to 4.14.178
[openwrt/staging/jow.git] / target / linux / brcm2708 / patches-4.14 / 950-0280-gpiolib-Don-t-prevent-IRQ-usage-of-output-GPIOs.patch
index 53ce26537a5aca2ce821e314c5a2a554c9c857e7..416914da6e41e77680e70cf79a54e4102392749c 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;
-@@ -2323,7 +2325,7 @@ static int _gpiod_direction_output_raw(s
+@@ -2306,7 +2308,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__);
-@@ -2849,7 +2851,7 @@ int gpiochip_lock_as_irq(struct gpio_chi
+@@ -2832,7 +2834,7 @@ int gpiochip_lock_as_irq(struct gpio_chi
                        set_bit(FLAG_IS_OUT, &desc->flags);
        }