• Tien Hock, Loh's avatar
    drivers: mmc: Fix some issues with MMC stack · a468e756
    Tien Hock, Loh authored
    
    
    Some bugs in MMC stack needs to be fixed:
    - scr cannot be local as this will cause cache issue when invalidating
    after the read DMA transfer is completed
    - ACMD41 needs to send voltage information in initialization, otherwise the
    command is a query, thus will not initialize the controller
    - when checking device state, retry until the retries counter goes to zero
    before failing
    Signed-off-by: default avatarTien Hock, Loh <tien.hock.loh@intel.com>
    a468e756
mmc.c 14.7 KB