Skip to content

Commit dc7a06b

Browse files
nkbelinlinusw
authored andcommitted
pinctrl: meson-gxl: fix GPIOX sdio pins
In the gxl driver, the sdio cmd and clk pins are inverted. It has not caused any issue so far because devices using these pins always take both pins so the resulting configuration is OK. Fixes: 0f15f50 ("pinctrl: meson: Add GXL pinctrl definitions") Reviewed-by: Jerome Brunet <[email protected]> Signed-off-by: Nicolas Belin <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
1 parent bb6d3fb commit dc7a06b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/pinctrl/meson/pinctrl-meson-gxl.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ static const unsigned int sdio_d0_pins[] = { GPIOX_0 };
147147
static const unsigned int sdio_d1_pins[] = { GPIOX_1 };
148148
static const unsigned int sdio_d2_pins[] = { GPIOX_2 };
149149
static const unsigned int sdio_d3_pins[] = { GPIOX_3 };
150-
static const unsigned int sdio_cmd_pins[] = { GPIOX_4 };
151-
static const unsigned int sdio_clk_pins[] = { GPIOX_5 };
150+
static const unsigned int sdio_clk_pins[] = { GPIOX_4 };
151+
static const unsigned int sdio_cmd_pins[] = { GPIOX_5 };
152152
static const unsigned int sdio_irq_pins[] = { GPIOX_7 };
153153

154154
static const unsigned int nand_ce0_pins[] = { BOOT_8 };

0 commit comments

Comments
 (0)