diff options
Diffstat (limited to 'target/linux/gemini/patches-4.14/0008-pinctrl-gemini-Fix-missing-pad-descriptions.patch')
-rw-r--r-- | target/linux/gemini/patches-4.14/0008-pinctrl-gemini-Fix-missing-pad-descriptions.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/target/linux/gemini/patches-4.14/0008-pinctrl-gemini-Fix-missing-pad-descriptions.patch b/target/linux/gemini/patches-4.14/0008-pinctrl-gemini-Fix-missing-pad-descriptions.patch new file mode 100644 index 0000000000..2d7ed83045 --- /dev/null +++ b/target/linux/gemini/patches-4.14/0008-pinctrl-gemini-Fix-missing-pad-descriptions.patch @@ -0,0 +1,27 @@ +From 3f2941cb12a6d6a0ef4e53e0ecb8d2431d352964 Mon Sep 17 00:00:00 2001 +From: Linus Walleij <linus.walleij@linaro.org> +Date: Mon, 13 Nov 2017 22:36:12 +0100 +Subject: [PATCH 08/31] pinctrl: gemini: Fix missing pad descriptions + +A pretty clever static checker found a bug in my patch: I added more +bits to a bitmask but didn't extend the array indexed to the same +bitmask. + +Fixes: 756a024f3983 ("pinctrl: gemini: Fix GMAC groups") +Reported-by: Dan Carpenter <dan.carpenter@oracle.com> +Signed-off-by: Linus Walleij <linus.walleij@linaro.org> +--- + drivers/pinctrl/pinctrl-gemini.c | 2 ++ + 1 file changed, 2 insertions(+) + +--- a/drivers/pinctrl/pinctrl-gemini.c ++++ b/drivers/pinctrl/pinctrl-gemini.c +@@ -136,6 +136,8 @@ static const char * const gemini_padgrou + "PCI CLK", + NULL, NULL, + "TVC CLK", ++ NULL, NULL, NULL, NULL, NULL, ++ "GMAC1", + }; + + static const struct pinctrl_pin_desc gemini_3512_pins[] = { |