From: Álvaro Fernández Rojas Date: Mon, 18 May 2020 07:10:16 +0000 (+0200) Subject: bcm63xx: bcm6362: fix pinctrl bug X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a2a3ac9f51824af7172d604898f897eaf2bdf467;p=oweals%2Fopenwrt.git bcm63xx: bcm6362: fix pinctrl bug Signed-off-by: Álvaro Fernández Rojas (cherry picked from commit ee6bf7e865510ff1e0645b08bec65f8212ed70d4) --- diff --git a/target/linux/brcm63xx/patches-4.14/145-pinctrl-BCM6362-fix-gpio-mode.patch b/target/linux/brcm63xx/patches-4.14/145-pinctrl-BCM6362-fix-gpio-mode.patch new file mode 100644 index 0000000000..0189b0b9a3 --- /dev/null +++ b/target/linux/brcm63xx/patches-4.14/145-pinctrl-BCM6362-fix-gpio-mode.patch @@ -0,0 +1,11 @@ +--- a/drivers/pinctrl/bcm63xx/pinctrl-bcm6362.c ++++ b/drivers/pinctrl/bcm63xx/pinctrl-bcm6362.c +@@ -566,7 +566,7 @@ static int bcm6362_pinctrl_set_mux(struc + val = BIT(grp->pins[0]); + break; + case BCM6362_MODE: +- reg = pctl->ctrl; ++ reg = pctl->mode; + mask = BIT(grp->pins[0]); + val = BIT(grp->pins[0]); + break;