aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2020-05-14 14:57:58 +0200
committerÁlvaro Fernández Rojas <noltari@gmail.com>2020-05-14 16:12:12 +0200
commitee6bf7e865510ff1e0645b08bec65f8212ed70d4 (patch)
tree92dd1d28b98b0a8a6070041850be6a816e19a637 /target/linux
parentaa2f2276f7bbfa5e006ee1fb771cf49e23e37323 (diff)
downloadupstream-ee6bf7e865510ff1e0645b08bec65f8212ed70d4.tar.gz
upstream-ee6bf7e865510ff1e0645b08bec65f8212ed70d4.tar.bz2
upstream-ee6bf7e865510ff1e0645b08bec65f8212ed70d4.zip
bcm63xx: bcm6362: fix pinctrl bug
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/bcm63xx/patches-5.4/145-pinctrl-BCM6362-fix-gpio-mode.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/bcm63xx/patches-5.4/145-pinctrl-BCM6362-fix-gpio-mode.patch b/target/linux/bcm63xx/patches-5.4/145-pinctrl-BCM6362-fix-gpio-mode.patch
new file mode 100644
index 0000000000..0189b0b9a3
--- /dev/null
+++ b/target/linux/bcm63xx/patches-5.4/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;