aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm63xx/patches-5.15/145-pinctrl-BCM6362-fix-gpio-mode.patch
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2022-05-20 14:27:22 +0200
committerÁlvaro Fernández Rojas <noltari@gmail.com>2022-05-20 15:53:16 +0200
commit2317a7426ed95978e7f4feaebb00bc909ffced34 (patch)
treefd6de73d0c1d1a1ee5bcf2982067a28ab05cf102 /target/linux/bcm63xx/patches-5.15/145-pinctrl-BCM6362-fix-gpio-mode.patch
parent0f14619e301059848761eb6c973c0bb85f211b94 (diff)
downloadupstream-2317a7426ed95978e7f4feaebb00bc909ffced34.tar.gz
upstream-2317a7426ed95978e7f4feaebb00bc909ffced34.tar.bz2
upstream-2317a7426ed95978e7f4feaebb00bc909ffced34.zip
bcm63xx: add linux v5.15 support
Build system: x86_64 Build-tested: generic, smp Run-tested: generic/AR-5387un, smp/VR-3032u Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/bcm63xx/patches-5.15/145-pinctrl-BCM6362-fix-gpio-mode.patch')
-rw-r--r--target/linux/bcm63xx/patches-5.15/145-pinctrl-BCM6362-fix-gpio-mode.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/bcm63xx/patches-5.15/145-pinctrl-BCM6362-fix-gpio-mode.patch b/target/linux/bcm63xx/patches-5.15/145-pinctrl-BCM6362-fix-gpio-mode.patch
new file mode 100644
index 0000000000..0189b0b9a3
--- /dev/null
+++ b/target/linux/bcm63xx/patches-5.15/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;