From ee6bf7e865510ff1e0645b08bec65f8212ed70d4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= Date: Thu, 14 May 2020 14:57:58 +0200 Subject: [PATCH] bcm63xx: bcm6362: fix pinctrl bug MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Álvaro Fernández Rojas --- .../145-pinctrl-BCM6362-fix-gpio-mode.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 target/linux/bcm63xx/patches-5.4/145-pinctrl-BCM6362-fix-gpio-mode.patch 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; -- 2.25.1