Skip to content

Commit 805f635

Browse files
committed
pinctrl: sh-pfc: r8a7778: Fix duplicate SDSELF_B and SD1_CLK_B
The FN_SDSELF_B and FN_SD1_CLK_B enum IDs are used twice, which means one set of users must be wrong. Replace them by the correct enum IDs. Fixes: 87f8c98 ("sh-pfc: Add r8a7778 pinmux support") Signed-off-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 6d5375a commit 805f635

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/pinctrl/sh-pfc/pfc-r8a7778.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2305,7 +2305,7 @@ static const struct pinmux_cfg_reg pinmux_config_regs[] = {
23052305
FN_ATAG0_A, 0, FN_REMOCON_B, 0,
23062306
/* IP0_11_8 [4] */
23072307
FN_SD1_DAT2_A, FN_MMC_D2, 0, FN_BS,
2308-
FN_ATADIR0_A, 0, FN_SDSELF_B, 0,
2308+
FN_ATADIR0_A, 0, FN_SDSELF_A, 0,
23092309
FN_PWM4_B, 0, 0, 0,
23102310
0, 0, 0, 0,
23112311
/* IP0_7_5 [3] */
@@ -2349,7 +2349,7 @@ static const struct pinmux_cfg_reg pinmux_config_regs[] = {
23492349
FN_TS_SDAT0_A, 0, 0, 0,
23502350
0, 0, 0, 0,
23512351
/* IP1_10_8 [3] */
2352-
FN_SD1_CLK_B, FN_MMC_D6, 0, FN_A24,
2352+
FN_SD1_CD_A, FN_MMC_D6, 0, FN_A24,
23532353
FN_DREQ1_A, 0, FN_HRX0_B, FN_TS_SPSYNC0_A,
23542354
/* IP1_7_5 [3] */
23552355
FN_A23, FN_HTX0_B, FN_TX2_B, FN_DACK2_A,

0 commit comments

Comments
 (0)