Home Home > GIT Browse > stable
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2019-01-18 07:53:27 +0100
committerJiri Slaby <jslaby@suse.cz>2019-01-18 07:53:33 +0100
commitf0057f4f4d10273760298b8999575500a5136e41 (patch)
treeae2e8be64d1eb5da1ecb618fcd22e8d6e1252e9f
parentfe5acb37a261f875d0448789eb2627d7271b0572 (diff)
ARM: davinci: da850-evm: fix label names in GPIO lookup entries
-rw-r--r--patches.kernel.org/4.20.3-019-ARM-davinci-da850-evm-fix-label-names-in-GPIO-.patch43
-rw-r--r--series.conf1
2 files changed, 44 insertions, 0 deletions
diff --git a/patches.kernel.org/4.20.3-019-ARM-davinci-da850-evm-fix-label-names-in-GPIO-.patch b/patches.kernel.org/4.20.3-019-ARM-davinci-da850-evm-fix-label-names-in-GPIO-.patch
new file mode 100644
index 0000000000..dfa6ccfdbd
--- /dev/null
+++ b/patches.kernel.org/4.20.3-019-ARM-davinci-da850-evm-fix-label-names-in-GPIO-.patch
@@ -0,0 +1,43 @@
+From: Bartosz Golaszewski <bgolaszewski@baylibre.com>
+Date: Thu, 3 Jan 2019 16:11:01 +0100
+Subject: [PATCH] ARM: davinci: da850-evm: fix label names in GPIO lookup
+ entries
+References: bnc#1012628
+Patch-mainline: 4.20.3
+Git-commit: c3f08cceb6a59f328f1c847b002729d1584c7a32
+
+commit c3f08cceb6a59f328f1c847b002729d1584c7a32 upstream.
+
+Since commit 587f7a694f01 ("gpio: davinci: Use dev name for label and
+automatic base selection") the gpiochip label no longer has an ID
+suffix. Update the GPIO lookup entries.
+
+Fixes: 587f7a694f01 ("gpio: davinci: Use dev name for label and automatic base selection")
+Cc: stable@vger.kernel.org
+Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
+Signed-off-by: Sekhar Nori <nsekhar@ti.com>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+Signed-off-by: Jiri Slaby <jslaby@suse.cz>
+---
+ arch/arm/mach-davinci/board-da850-evm.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c
+index e1a949b47306..bf2549e1894b 100644
+--- a/arch/arm/mach-davinci/board-da850-evm.c
++++ b/arch/arm/mach-davinci/board-da850-evm.c
+@@ -780,9 +780,9 @@ static struct gpiod_lookup_table mmc_gpios_table = {
+ .dev_id = "da830-mmc.0",
+ .table = {
+ /* gpio chip 2 contains gpio range 64-95 */
+- GPIO_LOOKUP("davinci_gpio.0", DA850_MMCSD_CD_PIN, "cd",
++ GPIO_LOOKUP("davinci_gpio", DA850_MMCSD_CD_PIN, "cd",
+ GPIO_ACTIVE_LOW),
+- GPIO_LOOKUP("davinci_gpio.0", DA850_MMCSD_WP_PIN, "wp",
++ GPIO_LOOKUP("davinci_gpio", DA850_MMCSD_WP_PIN, "wp",
+ GPIO_ACTIVE_HIGH),
+ },
+ };
+--
+2.20.1
+
diff --git a/series.conf b/series.conf
index ed5b4cf5dc..7e81e2a1f9 100644
--- a/series.conf
+++ b/series.conf
@@ -256,6 +256,7 @@
patches.kernel.org/4.20.3-016-cifs-Fix-potential-OOB-access-of-lock-element-.patch
patches.kernel.org/4.20.3-017-cifs-check-kzalloc-return.patch
patches.kernel.org/4.20.3-018-ARM-davinci-dm355-evm-fix-label-names-in-GPIO-.patch
+ patches.kernel.org/4.20.3-019-ARM-davinci-da850-evm-fix-label-names-in-GPIO-.patch
########################################################
# Build fixes that apply to the vanilla kernel too.