diff options
author | 2017-11-29 15:41:13 +0200 | |
---|---|---|
committer | 2017-12-11 12:44:38 +0100 | |
commit | 92c0a0cc9483c6b9cc1b61273d30a0a601cb5e15 (patch) | |
tree | 3395703aa85a8b0fde68c50bdc1a5efe324441db /drivers/mmc/core/queue.c | |
parent | mmc: block: Check for transfer state in card_busy_detect() (diff) | |
download | linux-dev-92c0a0cc9483c6b9cc1b61273d30a0a601cb5e15.tar.xz linux-dev-92c0a0cc9483c6b9cc1b61273d30a0a601cb5e15.zip |
mmc: block: Add timeout_clks when calculating timeout
According to the specification, total access time is derived from both TAAC
and NSAC, which means the timeout should add both timeout_ns and
timeout_clks. Host drivers do that, so make the block driver do that too.
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>
Diffstat (limited to 'drivers/mmc/core/queue.c')
0 files changed, 0 insertions, 0 deletions