mmc: core: change judgement for card busy detection
Currently we check cmd.flags & MMC_RSP_R1B in __mmc_blk_ioctl_cmd() to
decide whether need to do card busy detection or not. In this way, all
MMC_RSP_R1 Cmds which don't need to do card busy detection would meet
this judgement as well. So checking cmd.flags & MMC_RSP_BUSY is enough.
Change-Id: I9ee27a8e032509185d33afa2c423afa5ac4ff263
Signed-off-by:
Ziqi Chen <ziqichen@codeaurora.org>
Loading
Please register or sign in to comment