summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mx51/mx51_ccwmx51js.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-mx51/mx51_ccwmx51js.c')
-rw-r--r--arch/arm/mach-mx51/mx51_ccwmx51js.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-mx51/mx51_ccwmx51js.c b/arch/arm/mach-mx51/mx51_ccwmx51js.c
index ad1bb24f45fd..c048786cbbd1 100644
--- a/arch/arm/mach-mx51/mx51_ccwmx51js.c
+++ b/arch/arm/mach-mx51/mx51_ccwmx51js.c
@@ -342,7 +342,7 @@ static int sdhc_write_protect(struct device *dev)
unsigned short rc = 0;
if (to_platform_device(dev)->id == 0)
- rc = 1; /* Not supported WP on JSK board */
+ rc = 0; /* Not supported WP on JSK board */
else if (to_platform_device(dev)->id == 2)
rc = gpio_get_value(IOMUX_TO_GPIO(MX51_PIN_NANDF_CS1));