commit | c49433fb66935bd01930e37c7f47d38b6f8135fc | [log] [tgz] |
---|---|---|
author | Ulf Hansson <ulf.hansson@linaro.org> | Wed Jan 29 11:01:55 2014 +0100 |
committer | Chris Ball <chris@printf.net> | Sun Feb 23 10:40:58 2014 -0500 |
tree | 61e31de25238df4f3139315920e6592fa9877ffe | |
parent | bcc3e1726d827c2d6f62f0e0e7bbc99eed7ad925 [diff] |
mmc: block: Implement card_busy_detect() for busy detection 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>