bcm63xx: bcm6362: fix pinctrl bug

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
This commit is contained in:
Álvaro Fernández Rojas 2020-05-14 14:57:58 +02:00
parent aa2f2276f7
commit ee6bf7e865

View File

@ -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;