aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm63xx/patches-5.10/145-pinctrl-BCM6362-fix-gpio-mode.patch
blob: 0189b0b9a3b5487a7261eee6286d4c5f7aa42456 (plain)
1
2
3
4
5
6
7
8
9
10
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;