From 3887ae26bc85264be4827968d9c496445d334e4f Mon Sep 17 00:00:00 2001 From: Arun K S Date: Mon, 28 Jan 2008 20:34:57 +0530 Subject: [PATCH] omap2430sdp_mmc_fix 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 Ack-by: Madhusudhan Chikkature Rajashekar" Signed-off-by: Tony Lindgren --- arch/arm/mach-omap2/board-sdp-hsmmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/board-sdp-hsmmc.c b/arch/arm/mach-omap2/board-sdp-hsmmc.c index 4bf8165063e..90e8def5517 100644 --- a/arch/arm/mach-omap2/board-sdp-hsmmc.c +++ b/arch/arm/mach-omap2/board-sdp-hsmmc.c @@ -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; -- 2.41.1