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