realtek: refresh patches in 5.15
[openwrt/staging/jow.git] / target / linux / realtek / patches-5.15 / 021-v5.19-02-gpio-realtek-otto-Support-reversed-port-layouts.patch
index 8f353514388850b73663bb9961703ecf73ef9375..437e7862d912ac6820c1618d126406e6d82173b6 100644 (file)
@@ -91,7 +91,7 @@ Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
  }
  
  /* Set the rising and falling edge mask bits for a GPIO port pin */
-@@ -253,6 +289,7 @@ MODULE_DEVICE_TABLE(of, realtek_gpio_of_
+@@ -250,6 +286,7 @@ MODULE_DEVICE_TABLE(of, realtek_gpio_of_
  static int realtek_gpio_probe(struct platform_device *pdev)
  {
        struct device *dev = &pdev->dev;
@@ -99,7 +99,7 @@ Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
        unsigned int dev_flags;
        struct gpio_irq_chip *girq;
        struct realtek_gpio_ctrl *ctrl;
-@@ -280,10 +317,20 @@ static int realtek_gpio_probe(struct pla
+@@ -277,10 +314,20 @@ static int realtek_gpio_probe(struct pla
  
        raw_spin_lock_init(&ctrl->lock);