Skip to contentSkip to conversation

Patch "gpio: davinci: fix missed parent conversion" has been added to the 4.4-stable tree

PATCH [email protected] 1 participant 1 message Jun 5, 2016

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

gpio: davinci: fix missed parent conversion

to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
gpio-davinci-fix-missed-parent-conversion.patch
and it can be found in the queue-4.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From 6ddbaed3eff9f60d29805413404251670d2e8f0c Mon Sep 17 00:00:00 2001

From: Linus Walleij <[email protected]>
Date: Fri, 4 Dec 2015 14:13:59 +0100
Subject: gpio: davinci: fix missed parent conversion

From: Linus Walleij <[email protected]>

commit 6ddbaed3eff9f60d29805413404251670d2e8f0c upstream.

I missed to convert this driver properly to use .parent to point to the parent device. ARMv7 multiplatform would not compile.

---
 drivers/gpio/gpio-davinci.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/gpio-davinci.c +1 -1
@@ -254,7 +254,7 @@ static int davinci_gpio_probe(struct pla
 #ifdef CONFIG_OF_GPIO
 		chips[i].chip.of_gpio_n_cells = 2;
 		chips[i].chip.of_xlate = davinci_gpio_of_xlate;
-		chips[i].chip.dev = dev;
+		chips[i].chip.parent = dev;
 		chips[i].chip.of_node = dev->of_node;
 #endif
 		spin_lock_init(&chips[i].lock);

Patches currently in stable-queue which might be from [email protected] are

queue-4.4/pinctrl-exynos5440-use-off-stack-memory-for-pinctrl_gpio_range.patch queue-4.4/pm-runtime-fix-error-path-in-pm_runtime_force_resume.patch queue-4.4/mfd-intel_soc_pmic_core-terminate-panel-control-gpio-lookup-table-correctly.patch queue-4.4/gpio-davinci-fix-missed-parent-conversion.patch