kernel: bump 4.14 to 4.14.144
[oweals/openwrt.git] / target / linux / gemini / patches-4.14 / 0008-pinctrl-gemini-Fix-missing-pad-descriptions.patch
1 From 3f2941cb12a6d6a0ef4e53e0ecb8d2431d352964 Mon Sep 17 00:00:00 2001
2 From: Linus Walleij <linus.walleij@linaro.org>
3 Date: Mon, 13 Nov 2017 22:36:12 +0100
4 Subject: [PATCH 08/31] pinctrl: gemini: Fix missing pad descriptions
5
6 A pretty clever static checker found a bug in my patch: I added more
7 bits to a bitmask but didn't extend the array indexed to the same
8 bitmask.
9
10 Fixes: 756a024f3983 ("pinctrl: gemini: Fix GMAC groups")
11 Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
12 Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
13 ---
14  drivers/pinctrl/pinctrl-gemini.c | 2 ++
15  1 file changed, 2 insertions(+)
16
17 --- a/drivers/pinctrl/pinctrl-gemini.c
18 +++ b/drivers/pinctrl/pinctrl-gemini.c
19 @@ -136,6 +136,8 @@ static const char * const gemini_padgrou
20         "PCI CLK",
21         NULL, NULL,
22         "TVC CLK",
23 +       NULL, NULL, NULL, NULL, NULL,
24 +       "GMAC1",
25  };
26  
27  static const struct pinctrl_pin_desc gemini_3512_pins[] = {