aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/octeontx/patches-5.4/0002-gpio-thunderx-fix-irq_request_resources.patch
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2022-03-21 01:16:48 +0000
committerPaul Spooren <mail@aparcar.org>2022-03-21 11:36:30 +0000
commit3a14580411adfb75f9a44eded9f41245b9e44606 (patch)
treec3002cc1a0948bfedc4475d7276da0b3ebd4775c /target/linux/octeontx/patches-5.4/0002-gpio-thunderx-fix-irq_request_resources.patch
parent9f9477b2751231d57cdd8c227149b88c93491d93 (diff)
downloadupstream-3a14580411adfb75f9a44eded9f41245b9e44606.tar.gz
upstream-3a14580411adfb75f9a44eded9f41245b9e44606.tar.bz2
upstream-3a14580411adfb75f9a44eded9f41245b9e44606.zip
kernel: delete Linux 5.4 config and patches
As the upcoming release will be based on Linux 5.10 only, remove all kernel configuration as well as patches for Linux 5.4. There were no targets still actively using Linux 5.4. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'target/linux/octeontx/patches-5.4/0002-gpio-thunderx-fix-irq_request_resources.patch')
-rw-r--r--target/linux/octeontx/patches-5.4/0002-gpio-thunderx-fix-irq_request_resources.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/target/linux/octeontx/patches-5.4/0002-gpio-thunderx-fix-irq_request_resources.patch b/target/linux/octeontx/patches-5.4/0002-gpio-thunderx-fix-irq_request_resources.patch
deleted file mode 100644
index 44d91da529..0000000000
--- a/target/linux/octeontx/patches-5.4/0002-gpio-thunderx-fix-irq_request_resources.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From e8287ec10f21877eb0ac4c1fb4e89e42d8bc10da Mon Sep 17 00:00:00 2001
-From: Tim Harvey <tharvey@gateworks.com>
-Date: Wed, 11 Mar 2020 08:19:45 -0700
-Subject: [PATCH 2/7] gpio: thunderx: fix irq_request_resources
-
-If there are no parent resources do not call irq_chip_request_resources_parent
-at all as this will return an error.
-
-This resolves a regression where devices using a thunderx gpio as an interrupt
-would fail probing.
-
-Fixes: 0d04d0c ("gpio: thunderx: Use the default parent apis for {request,release}_resources")
-Signed-off-by: Tim Harvey <tharvey@gateworks.com>
----
- drivers/gpio/gpio-thunderx.c | 9 ++++++---
- 1 file changed, 6 insertions(+), 3 deletions(-)
-
---- a/drivers/gpio/gpio-thunderx.c
-+++ b/drivers/gpio/gpio-thunderx.c
-@@ -363,15 +363,18 @@ static int thunderx_gpio_irq_request_res
- {
- struct thunderx_line *txline = irq_data_get_irq_chip_data(data);
- struct thunderx_gpio *txgpio = txline->txgpio;
-+ struct irq_data *parent_data = data->parent_data;
- int r;
-
- r = gpiochip_lock_as_irq(&txgpio->chip, txline->line);
- if (r)
- return r;
-
-- r = irq_chip_request_resources_parent(data);
-- if (r)
-- gpiochip_unlock_as_irq(&txgpio->chip, txline->line);
-+ if (parent_data && parent_data->chip->irq_request_resources) {
-+ r = irq_chip_request_resources_parent(data);
-+ if (r)
-+ gpiochip_unlock_as_irq(&txgpio->chip, txline->line);
-+ }
-
- return r;
- }