• Ulf Hansson's avatar
    mmc: sh_mmcif: Use response type to know when to enable busy detection · 5b1c29bc
    Ulf Hansson authored
    The sh_mmcif explicity checks for certain commands to decide when to
    enable HW busy detection. Instead, it should only check the response type
    as it tells if busy detection is needed.
    
    In this way, the mmc core also gets full control whether it thinks busy
    detection should be done or not. In some specific scenarios, like for
    ERASE and STOP commands it may decide to fall back to use a CMD13 to poll
    the card status instead.
    Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
    5b1c29bc
sh_mmcif.c 41.6 KB