]> asedeno.scripts.mit.edu Git - linux.git/commit
mmc: core: start to break apart mmc_start_areq()
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 1 Feb 2017 12:48:00 +0000 (13:48 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 14 Feb 2017 08:10:53 +0000 (09:10 +0100)
commit37dac0681e2be4f3c32b090a8c0591d4ce57e6f0
tree69605d5909335613884a30a23d1bfae86821b17e
parent0e65f10cf1774a27acf9e933e006f1e55a4ef642
mmc: core: start to break apart mmc_start_areq()

This function is doing to many clever things at the same time under
too many various conditions.

Start to make things clearer by refactoring: break out the
finalization of the previous asynchronous request to its own
function mmc_finalize_areq(). We can get rid of the default
assignment of status and let the call deal with this.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/core.c