diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2014-01-14 22:17:36 (GMT) |
---|---|---|
committer | Chris Ball <chris@printf.net> | 2014-02-23 15:40:49 (GMT) |
commit | cb962e04b04fb67dbaf1455d3c60d64297ef4933 (patch) | |
tree | dbd9e0de9822e0a79c931d77c7db75f643da693e /drivers/mmc/card | |
parent | 57de31f6351ecad9212a26d2112b546e4c8b4a5b (diff) | |
download | linux-cb962e04b04fb67dbaf1455d3c60d64297ef4933.tar.xz |
mmc: core: Respect host's max_busy_timeout when sending sleep cmd
When sending the sleep command for host drivers supporting
MMC_CAP_WAIT_WHILE_BUSY, we need to confirm that max_busy_timeout is
big enough comparing to the sleep timeout specified from card's
EXT_CSD. If this isn't case, we use a R1 response instead of R1B and
fallback to use a delay instead.
Do note that a max_busy_timeout set to zero by the host, is interpreted
as it can cope with whatever timeout the mmc core provides it with.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <chris@printf.net>
Diffstat (limited to 'drivers/mmc/card')
0 files changed, 0 insertions, 0 deletions