Skip to contentSkip to conversation

mx31_3ds: Fix spi registration

PATCH New Rogerio Pimentel 2 participants 2 messages Oct 25, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 3/4 mx31_3ds: Fix spi registration

Commit (06606ff13) "ARM: imx: dynamically register spi_imx devices (imx31)" registered the wrong SPI port for mx31_3ds board. mx31_3ds uses SPI2 to connect to the MC13783 PMIC.

---
 arch/arm/mach-mx3/mach-mx31_3ds.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
(quoted diff) +0 -0

b/arch/arm/mach-mx3/mach-mx31_3ds.c
index 005c0b2..9c23146 100644

arch/arm/mach-mx3/mach-mx31_3ds.c +1 -1
@@ -242,7 +242,7 @@ static void __init mxc_board_init(void)
 	imx31_add_imx_uart0(&uart_pdata);
 	imx31_add_mxc_nand(&mx31_3ds_nand_board_info);
 
-	imx31_add_spi_imx0(&spi1_pdata);
+	imx31_add_spi_imx1(&spi1_pdata);
 	spi_register_board_info(mx31_3ds_spi_devs,
 						ARRAY_SIZE(mx31_3ds_spi_devs));
 
Signature · 1 line
1.7.0.4
#1 lore raw

PATCH 3/4 mx31_3ds: Fix spi registration

Hello Rogerio,

Quoted 6 lines · Rogerio Pimentel

Commit (06606ff13) "ARM: imx: dynamically register spi_imx devices (imx31)" registered the wrong SPI port for mx31_3ds board. mx31_3ds uses SPI2 to connect to the MC13783 PMIC.

ups, sorry.

(BTW, it's at least unusual to indent the Signed-off-by lines)

Best regards
Uwe

Signature · 2 lines
Pengutronix e.K.                           | Uwe Kleine-K?nig            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |