mmc: block: Factor out data preparation
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 13 Mar 2017 12:36:41 +0000 (14:36 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 24 Apr 2017 19:42:04 +0000 (21:42 +0200)
commitca5717f7ceef3c0aa76e2f77acb95ec3a93470c8
treea2a690c3209e285ee257eb1690d6bb1fad21bc0b
parent9cb38f7a2d0aab5730ac18117ab2f5c9e3d4a826
mmc: block: Factor out data preparation

Factor out data preparation into a separate function mmc_blk_data_prep()
which can be re-used for command queuing.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/block.c