]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
pinctrl: sh-pfc: sh7269: Add missing PCIOR0 field
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 13 Dec 2018 13:27:56 +0000 (14:27 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 18 Dec 2018 10:25:56 +0000 (11:25 +0100)
The Port C I/O Register 0 contains 7 reserved bits, but the descriptor
contains only dummy configuration values for 6 reserved bits, thus
breaking the configuration of all subsequent fields in the register.

Fix this by adding the two missing configuration values.

Fixes: f5e811f2a43117b2 ("sh-pfc: Add sh7269 pinmux support")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
drivers/pinctrl/sh-pfc/pfc-sh7269.c

index 5b48a0368e55b33a84feff17a01c5a55bfdbbfa8..a95997a389a4e873d11eedab4568babaae08398c 100644 (file)
@@ -2116,7 +2116,7 @@ static const struct pinmux_cfg_reg pinmux_config_regs[] = {
        },
 
        { PINMUX_CFG_REG("PCIOR0", 0xfffe3852, 16, 1) {
-               0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+               0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
                PC8_IN, PC8_OUT,
                PC7_IN, PC7_OUT,
                PC6_IN, PC6_OUT,