]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: rtsx_pci: Use the provided busy timeout from the mmc core
authorUlf Hansson <ulf.hansson@linaro.org>
Mon, 25 Jul 2016 23:16:59 +0000 (01:16 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 29 Jul 2016 09:29:04 +0000 (11:29 +0200)
commit4382da4223f5ab8824729a4098387abcaec9ea57
treeccd767dd0628bc326da00fb2048328a70d7cdf93
parent29b605f49786f4b700fa053c580c6215d38c99f1
mmc: rtsx_pci: Use the provided busy timeout from the mmc core

The rtsx_pci driver is using a fixed 3s timeout for R1B responses, which
in some cases isn't suffient. For example, erase/discard requests may
require longer timeouts.

Instead of always using a fixed timeout, let's use the per request
calculated busy timeout from the mmc core.

Cc: Micky Ching <micky_ching@realsil.com.cn>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Tested-by: Mauro Santos <registo.mailling@gmail.com>
drivers/mmc/host/rtsx_pci_sdmmc.c