diff options
Diffstat (limited to 'target/linux/gemini/patches-4.14/0010-pinctrl-gemini-Fix-usage-of-3512-groups.patch')
-rw-r--r-- | target/linux/gemini/patches-4.14/0010-pinctrl-gemini-Fix-usage-of-3512-groups.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/target/linux/gemini/patches-4.14/0010-pinctrl-gemini-Fix-usage-of-3512-groups.patch b/target/linux/gemini/patches-4.14/0010-pinctrl-gemini-Fix-usage-of-3512-groups.patch new file mode 100644 index 0000000000..1cab269a64 --- /dev/null +++ b/target/linux/gemini/patches-4.14/0010-pinctrl-gemini-Fix-usage-of-3512-groups.patch @@ -0,0 +1,25 @@ +From 88a5c6ad311588f178c5a88e4eeacc6d40b8ede3 Mon Sep 17 00:00:00 2001 +From: Linus Walleij <linus.walleij@linaro.org> +Date: Wed, 22 Nov 2017 21:04:14 +0100 +Subject: [PATCH 10/31] pinctrl: gemini: Fix usage of 3512 groups + +The pin config lookup function was still hardcoding the +3516 pin set, which is obviously wrong. Use the pointer +in the state container. + +Signed-off-by: Linus Walleij <linus.walleij@linaro.org> +--- + drivers/pinctrl/pinctrl-gemini.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/drivers/pinctrl/pinctrl-gemini.c ++++ b/drivers/pinctrl/pinctrl-gemini.c +@@ -2323,7 +2323,7 @@ static const struct gemini_pin_conf *gem + int i; + + for (i = 0; i < pmx->nconfs; i++) { +- retconf = &gemini_confs_3516[i]; ++ retconf = &pmx->confs[i]; + if (retconf->pin == pin) + return retconf; + } |