]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
omap2430sdp_mmc_fix
authorArun K S <arunks@mistralsolutions.com>
Mon, 28 Jan 2008 15:04:57 +0000 (20:34 +0530)
committerTony Lindgren <tony@atomide.com>
Wed, 30 Jan 2008 00:20:11 +0000 (16:20 -0800)
The PRCM (0x490022E8)register was overwritten by the MMC code
which made the other peripherals like USB etc to stop working.
The following patch fixes the modification of PRCM register by
the MMC code. This patch is tested here on the OMAP2430 SDP board.

Signed-off-by: Arun K S <arunks@mistralsolutions.com>
Ack-by: Madhusudhan Chikkature Rajashekar" <madhu.cr@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-sdp-hsmmc.c

index 4bf8165063e733aaa5b98e2d91e5a5264f99fa81..90e8def5517184caf25d83c1e9bd43a357422f97 100644 (file)
@@ -176,7 +176,7 @@ static int sdp_mmc_set_power(struct device *dev, int slot, int power_on,
                case MMC_VDD_32_33:
                        vdd_sel = VSEL_3V;
                        if (cpu_is_omap24xx())
-                               devconf = (reg | (1 << 31));
+                               devconf = (devconf | (1 << 31));
                        break;
                case MMC_VDD_165_195:
                        vdd_sel = VSEL_18V;