Re: Patch for MMC driver on SDP2430

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Arun K S <arunks@xxxxxxxxxxxxxxxxxxxx> [080129 01:23]:
> Hi all,
> 
> 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. 
> File:
> 	arch/arm/mach-omap2/board-sdp-hsmmc.c
> 
> 
> Description: This patch  fixes the unwanted PRCM register writes
> Signed-off-by: Arun K S <arunks@xxxxxxxxxxxxxxxxxxxx>
> Ack-by: Madhusudhan Chikkature Rajashekar" <madhu.cr@xxxxxx>
> 
> From 1e7097cdd9831c39a2e402fdbaea80062d04fb2b Mon Sep 17 00:00:00 2001
> From: Arun K S <arunks@xxxxxxxxxxxxxxxxxxxx>
> Date: Mon, 28 Jan 2008 20:34:57 +0530
> Subject: [PATCH] omap2430sdp_mmc_fix
> 
> ---
>  arch/arm/mach-omap2/board-sdp-hsmmc.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/arm/mach-omap2/board-sdp-hsmmc.c 
> b/arch/arm/mach-omap2/board-sdp-hsmmc.c
> index 4bf8165..90e8def 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;

Pushing today.

Tony
-
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux