]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: rtsx_usb: Use the provided busy timeout from the mmc core
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 2 May 2018 11:55:17 +0000 (13:55 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 8 May 2018 07:43:26 +0000 (09:43 +0200)
commitf239d90b8aba6fc18927a9167dcee17ffd5b9e33
treee3add626e56637ca7f54687b524a0cab1e946adc
parent49c8504130db8d7ffcd753d0e4c6ae1532d00d7f
mmc: rtsx_usb: Use the provided busy timeout from the mmc core

Instead of using a fixed 3s timeout for commands with R1B responses,
convert to use the per request calculated busy timeout from the mmc core.

This is needed to cope with requests that requires longer timeout, for
example erase/discard commands.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Tested-by: MichaƂ Pecio <michal.pecio@gmail.com>
drivers/mmc/host/rtsx_usb_sdmmc.c