lkml.org 
[lkml]   [2012]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 2/7] ARM: LPC32xx: Add further bits to MMC init
    Date
    This patch makes sure certain MMC bits are cleared as they should for
    initialization.

    Signed-off-by: Roland Stigge <stigge@antcom.de>
    Acked-by: Alexandre Pereira da Silva <aletes.xgr@gmail.com>

    ---
    arch/arm/mach-lpc32xx/clock.c | 6 +++++-
    1 file changed, 5 insertions(+), 1 deletion(-)

    --- linux-2.6.orig/arch/arm/mach-lpc32xx/clock.c
    +++ linux-2.6/arch/arm/mach-lpc32xx/clock.c
    @@ -813,7 +813,11 @@ static int mmc_onoff_enable(struct clk *

    tmp = __raw_readl(LPC32XX_CLKPWR_MS_CTRL) &
    ~(LPC32XX_CLKPWR_MSCARD_SDCARD_EN |
    - LPC32XX_CLKPWR_MSCARD_MSDIO_PU_EN);
    + LPC32XX_CLKPWR_MSCARD_MSDIO_PU_EN |
    + LPC32XX_CLKPWR_MSCARD_MSDIO_PIN_DIS |
    + LPC32XX_CLKPWR_MSCARD_MSDIO0_DIS |
    + LPC32XX_CLKPWR_MSCARD_MSDIO1_DIS |
    + LPC32XX_CLKPWR_MSCARD_MSDIO23_DIS);

    /* If rate is 0, disable clock */
    if (enable != 0)

    \
     
     \ /
      Last update: 2012-06-24 16:21    [W:0.021 / U:0.356 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site