• Magnus Damm's avatar
    tmio_mmc: Use 100ms mmc_detect_change() delay · 6d9af5af
    Magnus Damm authored
    This patch changes the tmio_mmc driver to wait 100ms
    before checking the card detect status. This type of
    delay is quite common among mmc drivers, it seems that
    most hardware platforms need to give the hardware some
    time to settle before checking card availabilty.
    
    Hotplug is half-broken without this patch on the sh7724
    Ecovec board. Hot insertion seems ok but eject is never
    detected without this patch.
    Signed-off-by: default avatarMagnus Damm <damm@opensource.se>
    Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
    6d9af5af
tmio_mmc.c 15.4 KB