summaryrefslogtreecommitdiff
path: root/drivers/mmc/host/via-sdmmc.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2017-02-01 13:47:54 +0100
committerUlf Hansson <ulf.hansson@linaro.org>2017-02-13 13:20:58 +0100
commitb2928e1049e1d96ac794293d18168c721dbfdb24 (patch)
tree0fbf53076bd9820d7f66539b1c9e7ced1f38ecf5 /drivers/mmc/host/via-sdmmc.c
parentc3399ef55d8e8295293808eba32e3f7056526324 (diff)
mmc: block: refactor mmc_blk_rw_try_restart()
The mmc_blk_rw_start_new() was named after the label inside mmc_blk_issue_rw_rq() but is really a confusing name for this function: what it does is to try to restart the latest issued command on the host and card of the current MMC queue. So rename it mmc_blk_rw_try_restart() that reflects what it is doing and at this point also refactore the function to treat the removed card as an exception and just exit if this happens and run on in the function if that is not happening. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/via-sdmmc.c')
0 files changed, 0 insertions, 0 deletions