pandora: kill writeprotect support
authorGrazvydas Ignotas <notasas@gmail.com>
Wed, 29 Feb 2012 22:05:49 +0000 (00:05 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Wed, 29 Feb 2012 22:05:49 +0000 (00:05 +0200)
this doesn't work on some ES2 and ES3 boards, exact reason unknown.
Revert this patch if writeprotect works on your board.

arch/arm/mach-omap2/board-omap3pandora.c

index 23a59c6..c621b16 100644 (file)
@@ -353,14 +353,16 @@ static struct omap2_hsmmc_info omap3pandora_mmc[] = {
                .mmc            = 1,
                .caps           = MMC_CAP_4_BIT_DATA,
                .gpio_cd        = -EINVAL,
-               .gpio_wp        = 126,
+               //.gpio_wp      = 126,
+               .gpio_wp        = -EINVAL,
                .ext_clock      = 0,
        },
        {
                .mmc            = 2,
                .caps           = MMC_CAP_4_BIT_DATA,
                .gpio_cd        = -EINVAL,
-               .gpio_wp        = 127,
+               //.gpio_wp      = 127,
+               .gpio_wp        = -EINVAL,
                .ext_clock      = 1,
                .transceiver    = true,
        },