diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2009-09-12 07:04:37 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-09-12 07:04:37 -0400 |
commit | 87d721ad7a37b7650dd710c88dd5c6a5bf9fe996 (patch) | |
tree | 869d633803eb7c429624d3bd16a6117816849763 /arch/arm/mach-mx3 | |
parent | ddd559b13f6d2fe3ad68c4b3f5235fd3c2eae4e3 (diff) | |
parent | b7cfda9fc3d7aa60cffab5367f2a72a4a70060cd (diff) |
Merge branch 'master' into devel
Diffstat (limited to 'arch/arm/mach-mx3')
-rw-r--r-- | arch/arm/mach-mx3/mx31moboard-devboard.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-mx3/mx31moboard-marxbot.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-mx3/mx31moboard.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-mx3/pcm037_eet.c | 9 |
4 files changed, 3 insertions, 12 deletions
diff --git a/arch/arm/mach-mx3/mx31moboard-devboard.c b/arch/arm/mach-mx3/mx31moboard-devboard.c index b3e8f251ac79..5592cdb8d0ad 100644 --- a/arch/arm/mach-mx3/mx31moboard-devboard.c +++ b/arch/arm/mach-mx3/mx31moboard-devboard.c | |||
@@ -50,7 +50,7 @@ static struct imxuart_platform_data uart_pdata = { | |||
50 | 50 | ||
51 | static int devboard_sdhc2_get_ro(struct device *dev) | 51 | static int devboard_sdhc2_get_ro(struct device *dev) |
52 | { | 52 | { |
53 | return gpio_get_value(SDHC2_WP); | 53 | return !gpio_get_value(SDHC2_WP); |
54 | } | 54 | } |
55 | 55 | ||
56 | static int devboard_sdhc2_init(struct device *dev, irq_handler_t detect_irq, | 56 | static int devboard_sdhc2_init(struct device *dev, irq_handler_t detect_irq, |
diff --git a/arch/arm/mach-mx3/mx31moboard-marxbot.c b/arch/arm/mach-mx3/mx31moboard-marxbot.c index 3e2b73051b94..2bfaffb344f0 100644 --- a/arch/arm/mach-mx3/mx31moboard-marxbot.c +++ b/arch/arm/mach-mx3/mx31moboard-marxbot.c | |||
@@ -56,7 +56,7 @@ static unsigned int marxbot_pins[] = { | |||
56 | 56 | ||
57 | static int marxbot_sdhc2_get_ro(struct device *dev) | 57 | static int marxbot_sdhc2_get_ro(struct device *dev) |
58 | { | 58 | { |
59 | return gpio_get_value(SDHC2_WP); | 59 | return !gpio_get_value(SDHC2_WP); |
60 | } | 60 | } |
61 | 61 | ||
62 | static int marxbot_sdhc2_init(struct device *dev, irq_handler_t detect_irq, | 62 | static int marxbot_sdhc2_init(struct device *dev, irq_handler_t detect_irq, |
diff --git a/arch/arm/mach-mx3/mx31moboard.c b/arch/arm/mach-mx3/mx31moboard.c index d3c6bb26271f..9243de54041a 100644 --- a/arch/arm/mach-mx3/mx31moboard.c +++ b/arch/arm/mach-mx3/mx31moboard.c | |||
@@ -118,7 +118,7 @@ static struct imxi2c_platform_data moboard_i2c1_pdata = { | |||
118 | 118 | ||
119 | static int moboard_sdhc1_get_ro(struct device *dev) | 119 | static int moboard_sdhc1_get_ro(struct device *dev) |
120 | { | 120 | { |
121 | return gpio_get_value(SDHC1_WP); | 121 | return !gpio_get_value(SDHC1_WP); |
122 | } | 122 | } |
123 | 123 | ||
124 | static int moboard_sdhc1_init(struct device *dev, irq_handler_t detect_irq, | 124 | static int moboard_sdhc1_init(struct device *dev, irq_handler_t detect_irq, |
diff --git a/arch/arm/mach-mx3/pcm037_eet.c b/arch/arm/mach-mx3/pcm037_eet.c index fe52fb1bb8b7..8d386000fc40 100644 --- a/arch/arm/mach-mx3/pcm037_eet.c +++ b/arch/arm/mach-mx3/pcm037_eet.c | |||
@@ -24,15 +24,6 @@ | |||
24 | #include "devices.h" | 24 | #include "devices.h" |
25 | 25 | ||
26 | static unsigned int pcm037_eet_pins[] = { | 26 | static unsigned int pcm037_eet_pins[] = { |
27 | /* SPI #1 */ | ||
28 | MX31_PIN_CSPI1_MISO__MISO, | ||
29 | MX31_PIN_CSPI1_MOSI__MOSI, | ||
30 | MX31_PIN_CSPI1_SCLK__SCLK, | ||
31 | MX31_PIN_CSPI1_SPI_RDY__SPI_RDY, | ||
32 | MX31_PIN_CSPI1_SS0__SS0, | ||
33 | MX31_PIN_CSPI1_SS1__SS1, | ||
34 | MX31_PIN_CSPI1_SS2__SS2, | ||
35 | |||
36 | /* Reserve and hardwire GPIO 57 high - S6E63D6 chipselect */ | 27 | /* Reserve and hardwire GPIO 57 high - S6E63D6 chipselect */ |
37 | IOMUX_MODE(MX31_PIN_KEY_COL7, IOMUX_CONFIG_GPIO), | 28 | IOMUX_MODE(MX31_PIN_KEY_COL7, IOMUX_CONFIG_GPIO), |
38 | /* GPIO keys */ | 29 | /* GPIO keys */ |