lantiq: switch to linux 4.4
[openwrt/openwrt.git] / target / linux / lantiq / patches-4.1 / 0046-pinctrl-lantiq-2-pins-have-the-wrong-mux-list.patch
1 From c9f294ff6584782d20b4a766901a9cff7398bb20 Mon Sep 17 00:00:00 2001
2 From: John Crispin <blogic@openwrt.org>
3 Date: Mon, 4 Jan 2016 22:27:57 +0100
4 Subject: [PATCH] pinctrl: lantiq: 2 pins have the wrong mux list
5
6 The latest vendor SDK contained this patch.
7
8 Signed-off-by: John Crispin <blogic@openwrt.org>
9 Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
10 ---
11 drivers/pinctrl/pinctrl-xway.c | 4 ++--
12 1 file changed, 2 insertions(+), 2 deletions(-)
13
14 --- a/drivers/pinctrl/pinctrl-xway.c
15 +++ b/drivers/pinctrl/pinctrl-xway.c
16 @@ -160,10 +160,10 @@ static const struct ltq_mfp_pin xway_mfp
17 MFP_XWAY(GPIO41, GPIO, NONE, NONE, NONE),
18 MFP_XWAY(GPIO42, GPIO, MDIO, NONE, NONE),
19 MFP_XWAY(GPIO43, GPIO, MDIO, NONE, NONE),
20 - MFP_XWAY(GPIO44, GPIO, NONE, SIN, GPHY),
21 + MFP_XWAY(GPIO44, GPIO, MII, SIN, GPHY),
22 MFP_XWAY(GPIO45, GPIO, NONE, GPHY, SIN),
23 MFP_XWAY(GPIO46, GPIO, NONE, NONE, EXIN),
24 - MFP_XWAY(GPIO47, GPIO, NONE, GPHY, SIN),
25 + MFP_XWAY(GPIO47, GPIO, MII, GPHY, SIN),
26 MFP_XWAY(GPIO48, GPIO, EBU, NONE, NONE),
27 MFP_XWAY(GPIO49, GPIO, EBU, NONE, NONE),
28 MFP_XWAY(GPIO50, GPIO, NONE, NONE, NONE),