mmc: block: Check the timeout correctly in card_busy_detect()
authorAdrian Hunter <adrian.hunter@intel.com>
Wed, 29 Nov 2017 13:41:11 +0000 (15:41 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 11 Dec 2017 11:44:37 +0000 (12:44 +0100)
commit7701885e56cee3de4447c0653f9059b62844983b
tree63bffd2eced64aa18cb069ecb1b41985cbbe409d
parentf47a1fe346b1568df0e9b158574b2939432313df
mmc: block: Check the timeout correctly in card_busy_detect()

Pedantically, ensure the status is checked for the last time after the full
timeout has passed.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Tested-by: Linus Walleij <linus.walleij@linaro.org>
drivers/mmc/core/block.c