summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2020-05-18 09:10:16 +0200
committerÁlvaro Fernández Rojas <noltari@gmail.com>2020-05-18 10:55:06 +0200
commitb9daff610e743048fec300c4d38fed5458f1b171 (patch)
tree1e87360a0782b39435ee95113c43259a57ce7870
parent488751e1e5b5e1bc76fc24ad850ee304c855dee2 (diff)
downloadopenwrt-b9daff610e743048fec300c4d38fed5458f1b171.tar.gz
openwrt-b9daff610e743048fec300c4d38fed5458f1b171.tar.bz2
openwrt-b9daff610e743048fec300c4d38fed5458f1b171.zip
bcm63xx: bcm6362: fix pinctrl bug
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> (cherry picked from commit ee6bf7e865510ff1e0645b08bec65f8212ed70d4)
-rw-r--r--target/linux/brcm63xx/patches-4.9/145-pinctrl-BCM6362-fix-gpio-mode.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/patches-4.9/145-pinctrl-BCM6362-fix-gpio-mode.patch b/target/linux/brcm63xx/patches-4.9/145-pinctrl-BCM6362-fix-gpio-mode.patch
new file mode 100644
index 0000000000..0189b0b9a3
--- /dev/null
+++ b/target/linux/brcm63xx/patches-4.9/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;