• jiajie.hao@mediatek.com's avatar
    mmc: sdio: Fix sdio wait busy implement limitation · f328c76e
    jiajie.hao@mediatek.com authored
    The host may issue an I/O abort by writing to the CCCR at any time
    during I/O read operation via CMD52. And host may need suspend
    transcation during write busy stage in SDIO suspend/resume scenario.
    >From other side, a card may accept CMD52 during data transfer phase.
    
    Previous implement would block issuing above command in busy stage.
    It cause function driver can't implement as proper way and has no
    opportunity to do some coverage in error case via I/O abort etc.
    
    We need bypass some necessary operation during busy check stage.
    Signed-off-by: default avatarJiajie Hao <jiajie.hao@mediatek.com>
    Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
    f328c76e
sdio_ops.h 1.12 KB