mmc: block: add a block request prepare function
commit54d49d77628bed77e5491b8a2a1158a492843a19
authorPer Forlin <per.forlin@linaro.org>
Fri, 1 Jul 2011 16:55:29 +0000 (1 18:55 +0200)
committerChris Ball <cjb@laptop.org>
Wed, 20 Jul 2011 21:21:13 +0000 (20 17:21 -0400)
tree6001701b192b9ef07f3826b96b8e67147a48f8b6
parent97868a2bdfc2fc79a987b64f1611034b56a3f8c4
mmc: block: add a block request prepare function

Break out code from mmc_blk_issue_rw_rq to create a block request prepare
function. This doesn't change any functionallity. This helps when handling
more than one active block request.

Signed-off-by: Per Forlin <per.forlin@linaro.org>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Venkatraman S <svenkatr@ti.com>
Tested-by: Sourav Poddar <sourav.poddar@ti.com>
Tested-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/card/block.c