Эх сурвалжийг харах

[AVR32] STK1000: Set SPI_MODE_3 in the ltv350qv board info

In the latest incarnation of the ltv350qv driver the call to
spi_setup() has been removed. So we need to initialize things more
carefully in the board info struct.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Haavard Skinnemoen 18 жил өмнө
parent
commit
2fdfe8d9a2

+ 1 - 0
arch/avr32/boards/atstk1000/atstk1002.c

@@ -42,6 +42,7 @@ static struct spi_board_info spi0_board_info[] __initdata = {
 		.modalias	= "ltv350qv",
 		.max_speed_hz	= 16000000,
 		.chip_select	= 1,
+		.mode		= SPI_MODE_3,
 	},
 };