]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc5868242e9b67f160814042d5e0d5481c3d3195f
tree61e31de25238df4f3139315920e6592fa9877ffe
parentfbf73cc988e38bc9722de6d704fa4cbab7e362c0
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>
drivers/mmc/card/block.c