mmc: block: Implement card_busy_detect() for busy detection
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 29 Jan 2014 10:01:55 +0000 (11:01 +0100)
committerChris Ball <chris@printf.net>
Sun, 23 Feb 2014 15:40:58 +0000 (10:40 -0500)
To complete a data write request we poll for the card's status register
by sending CMD13. The are other scenarios when this polling method are
needed, which is why we here moves this code to it's own function. No
functional change.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <chris@printf.net>
drivers/mmc/card/block.c

Simple merge