]> git.karo-electronics.de Git - linux-beck.git/commitdiff
avr32: Solves problem with inverted MCI detect pin on Merisc board
authorJonas Larsson <jonas.larsson@martinsson.se>
Tue, 31 Mar 2009 09:16:52 +0000 (11:16 +0200)
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>
Wed, 8 Apr 2009 18:48:02 +0000 (20:48 +0200)
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>
arch/avr32/boards/merisc/setup.c

index 20b300cf105ade80ed74f2a0f94fc4aa100a9098..623b077594fc65238ae04f26eb1633816a666f96 100644 (file)
@@ -94,9 +94,10 @@ static struct spi_board_info __initdata spi0_board_info[] = {
 
 static struct mci_platform_data __initdata mci0_data = {
        .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,
        },
 };