• P
    MMC: omap_hsmmc: enable interface clock before calling mmc_host_enable() · a05dcdb9
    Paul Walmsley 提交于
    The code path entered via mmc_host_enable() can include register
    accesses to the HSMMC IP block.  For this to work, both the device
    interface clock and functional clock need to be enabled before
    mmc_host_enable() is called.  However, omap_hsmmc_probe() calls
    mmc_host_enable() before enabling the device interface clock.
    
    Fix by calling mmc_host_enable() after the device interface clock is
    enabled.
    Signed-off-by: NPaul Walmsley <paul@pwsan.com>
    Cc: Madhusudhan Chikkature Rajashekar <madhu.cr@ti.com>
    Cc: Adrian Hunter <adrian.hunter@nokia.com>
    Cc: Kishore Kadiyala <kishore.kadiyala@ti.com>
    Cc: Tero Kristo <Tero.Kristo@nokia.com>
    Acked-by: NMadhusudhan Chikkature Rajashekar <madhu.cr@ti.com>
    a05dcdb9
omap_hsmmc.c 59.4 KB