瀏覽代碼

avr32: Solves problem with inverted MCI detect pin on Merisc board

Same patch as before, modified to use bool.

This patch solves the problem with the inverted mci detect pin on Merisc
boards.

Signed-off-by: Jonas Larsson <jonas.larsson@martinsson.se>
Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Jonas Larsson 16 年之前
父節點
當前提交
7ebcfcf197
共有 1 個文件被更改,包括 4 次插入3 次删除
  1. 4 3
      arch/avr32/boards/merisc/setup.c

+ 4 - 3
arch/avr32/boards/merisc/setup.c

@@ -94,9 +94,10 @@ static struct spi_board_info __initdata spi0_board_info[] = {
 
 
 static struct mci_platform_data __initdata mci0_data = {
 static struct mci_platform_data __initdata mci0_data = {
 	.slot[0] = {
 	.slot[0] = {
-		.bus_width	= 4,
-		.detect_pin	= GPIO_PIN_PE(19),
-		.wp_pin		= GPIO_PIN_PE(20),
+		.bus_width		= 4,
+		.detect_pin		= GPIO_PIN_PE(19),
+		.wp_pin			= GPIO_PIN_PE(20),
+		.detect_is_active_high	= true,
 	},
 	},
 };
 };