Skip to content

Commit

Permalink
avr32: Solves problem with inverted MCI detect pin on Merisc board
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jonas Larsson authored and Haavard Skinnemoen committed Apr 8, 2009
1 parent 1c1452b commit 7ebcfcf
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions arch/avr32/boards/merisc/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
};

Expand Down

0 comments on commit 7ebcfcf

Please sign in to comment.