projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kernel: bump 4.19 to 4.19.65
[openwrt/openwrt.git]
/
target
/
linux
/
brcm2708
/
patches-4.19
/
950-0129-gpiolib-Don-t-prevent-IRQ-usage-of-output-GPIOs.patch
diff --git
a/target/linux/brcm2708/patches-4.19/950-0129-gpiolib-Don-t-prevent-IRQ-usage-of-output-GPIOs.patch
b/target/linux/brcm2708/patches-4.19/950-0129-gpiolib-Don-t-prevent-IRQ-usage-of-output-GPIOs.patch
index d251129a2ea823f3fb499effec5ee2ae2390d3e0..1905c71bdd676135acf7a17662b01d9ce6ea3632 100644
(file)
--- a/
target/linux/brcm2708/patches-4.19/950-0129-gpiolib-Don-t-prevent-IRQ-usage-of-output-GPIOs.patch
+++ b/
target/linux/brcm2708/patches-4.19/950-0129-gpiolib-Don-t-prevent-IRQ-usage-of-output-GPIOs.patch
@@
-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;
/* Device and char device-related information */
static DEFINE_IDA(gpio_ida);
static dev_t gpio_devt;
-@@ -262
4,7 +2626
,7 @@ int gpiod_direction_output(struct gpio_d
+@@ -262
6,7 +2628
,7 @@ int gpiod_direction_output(struct gpio_d
value = !!value;
/* GPIOs used for IRQs shall not be set as output */
value = !!value;
/* 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__);
gpiod_err(desc,
"%s: tried to set a GPIO tied to an IRQ as output\n",
__func__);
-@@ -331
2,7 +3314
,7 @@ int gpiochip_lock_as_irq(struct gpio_chi
+@@ -331
4,7 +3316
,7 @@ int gpiochip_lock_as_irq(struct gpio_chi
}
}
}
}