]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: core: Rename max_discard_to to max_busy_timeout
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 18 Dec 2013 08:57:38 +0000 (09:57 +0100)
committerChris Ball <chris@printf.net>
Sun, 23 Feb 2014 15:40:08 +0000 (10:40 -0500)
commit68eb80e06bfa06035d0304686124974780308fae
tree84a0dd60429c06284945edb365f568591464f3ab
parente18eaf8ff940d75d240d7dee6ab84363438f379e
mmc: core: Rename max_discard_to to max_busy_timeout

Rename host->max_discard_to to host->max_busy_timeout, to reflect that
it tells the mmc core layer about the maximum supported busy detection
timeout by the host.

This timeout is at the moment only applicable to erase/trim/discard
commands. By the renaming we provide the option of make use of it for
other commands that cares about busy detection. In other words, those
commands that wants an R1B response, like for example the mmc switch
command.

Do note that the max_busy_timeout is supposed to be specified only by
hosts supporting MMC_CAP_WAIT_WHILE_BUSY.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <chris@printf.net>
drivers/mmc/core/core.c
drivers/mmc/host/sdhci.c
include/linux/mmc/host.h