summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2020-03-11 12:20:36 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2020-03-12 15:36:55 +0300
commit18d200460cd73636d4f20674085c39e32b4e0097 (patch)
treec3f734f1a040de056a33da47a78c2c96683bd0db /include
parentd2f8bfa4bff5028bc40ed56b4497c32e05b0178f (diff)
downloadlinux-18d200460cd73636d4f20674085c39e32b4e0097.tar.xz
mmc: core: Respect MMC_CAP_NEED_RSP_BUSY for eMMC sleep command
The busy timeout for the CMD5 to put the eMMC into sleep state, is specific to the card. Potentially the timeout may exceed the host->max_busy_timeout. If that becomes the case, mmc_sleep() converts from using an R1B response to an R1 response, as to prevent the host from doing HW busy detection. However, it has turned out that some hosts requires an R1B response no matter what, so let's respect that via checking MMC_CAP_NEED_RSP_BUSY. Note that, if the R1B gets enforced, the host becomes fully responsible of managing the needed busy timeout, in one way or the other. Suggested-by: Sowjanya Komatineni <skomatineni@nvidia.com> Cc: <stable@vger.kernel.org> Link: https://lore.kernel.org/r/20200311092036.16084-1-ulf.hansson@linaro.org Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions