Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 156831
b: refs/heads/master
c: 563abb4
h: refs/heads/master
i:
  156829: 8094e33
  156827: 4ff8227
  156823: c45ae1a
  156815: de1f775
  156799: b026ee4
v: v3
  • Loading branch information
Valentin Longchamp authored and Sascha Hauer committed Aug 14, 2009
1 parent 9ed01ed commit 9c8e2c3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ff46a474ca2566d79e8d7454442b56d82bce37c1
refs/heads/master: 563abb4be1a79e7b64784d43beb9d0cacb1bad6f
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-mx3/mx31moboard-devboard.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ static struct imxuart_platform_data uart_pdata = {

static int devboard_sdhc2_get_ro(struct device *dev)
{
return gpio_get_value(SDHC2_WP);
return !gpio_get_value(SDHC2_WP);
}

static int devboard_sdhc2_init(struct device *dev, irq_handler_t detect_irq,
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-mx3/mx31moboard-marxbot.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ static unsigned int marxbot_pins[] = {

static int marxbot_sdhc2_get_ro(struct device *dev)
{
return gpio_get_value(SDHC2_WP);
return !gpio_get_value(SDHC2_WP);
}

static int marxbot_sdhc2_init(struct device *dev, irq_handler_t detect_irq,
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-mx3/mx31moboard.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ static struct imxi2c_platform_data moboard_i2c1_pdata = {

static int moboard_sdhc1_get_ro(struct device *dev)
{
return gpio_get_value(SDHC1_WP);
return !gpio_get_value(SDHC1_WP);
}

static int moboard_sdhc1_init(struct device *dev, irq_handler_t detect_irq,
Expand Down

0 comments on commit 9c8e2c3

Please sign in to comment.