aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpio/sh_pfc.c
diff options
context:
space:
mode:
authorLUU HOAI <hoai.luu.ub@renesas.com>2023-02-28 22:34:40 +0100
committerMarek Vasut <marek.vasut+renesas@mailbox.org>2023-04-07 17:13:28 +0200
commit1b1834c037fe87721b8c59a5d0701f8864dc499b (patch)
treec526c0182725fbc31b43f7ecd334608182075037 /drivers/gpio/sh_pfc.c
parent17207aa84feaa9c408814316103815d15ea9aa35 (diff)
pinctrl: renesas: Add R8A779F0 S4 PFC tables
Add pinctrl tables for R8A779F0 S4 SoC. Based on Linux next 20230228 PFC tables tables up to commit 058f4df42121 ("Add linux-next specific files for 20230228") Reviewed-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Signed-off-by: LUU HOAI <hoai.luu.ub@renesas.com> Signed-off-by: Hai Pham <hai.pham.ud@renesas.com> Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> [Marek: Use RCAR_64 Kconfig, sync with Linux next 20230228]
Diffstat (limited to 'drivers/gpio/sh_pfc.c')
-rw-r--r--drivers/gpio/sh_pfc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/sh_pfc.c b/drivers/gpio/sh_pfc.c
index 92522b63bb..2495d6c1c1 100644
--- a/drivers/gpio/sh_pfc.c
+++ b/drivers/gpio/sh_pfc.c
@@ -569,7 +569,7 @@ static int sh_gpio_get_value(struct pinmux_info *gpioc, unsigned gpio)
if (!gpioc || get_data_reg(gpioc, gpio, &dr, &bit) != 0)
return -1;
- if (IS_ENABLED(CONFIG_RCAR_GEN3) &&
+ if (IS_ENABLED(CONFIG_RCAR_64) &&
((gpioc->gpios[gpio].flags & PINMUX_FLAG_TYPE) == PINMUX_TYPE_INPUT))
offset += 4;