• Ulf Hansson's avatar
    mmc: sdio: Drop powered-on re-init at runtime resume and HW reset · 7fbbe725
    Ulf Hansson authored
    To use the so called powered-on re-initialization of an SDIO card, the
    power to the card must obviously have stayed on. If not, the initialization
    will simply fail.
    
    In the runtime suspend case, the card is always powered off. Hence, let's
    drop the support for powered-on re-initialization during runtime resume, as
    it doesn't make sense.
    
    Moreover, during a HW reset, the point is to cut the power to the card and
    then do fresh re-initialization. Therefore drop the support for powered-on
    re-initialization during HW reset.
    Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
    Fixes: ca8971ca ("mmc: dw_mmc: Prevent runtime PM suspend when SDIO IRQs are enabled")
    Tested-by: default avatarDouglas Anderson <dianders@chromium.org>
    7fbbe725
sdio.c 27.1 KB