]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: block: add member in mmc queue struct to hold request data
authorPer Forlin <per.forlin@linaro.org>
Sat, 9 Jul 2011 21:12:36 +0000 (17:12 -0400)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:11:07 +0000 (14:11 +0200)
commite8017672f5d336cf2e42ae1d38ac1d5f782486fd
treeec18298d960a4de8921e0dbc3092d5826acdd5b5
parent95cdb1fe4d9e4456411c5b2f3d51a4067bcd63a7
mmc: block: add member in mmc queue struct to hold request data

The way the request data is organized in the mmc queue struct, it only
allows processing of one request at a time.  This patch adds a new struct
to hold mmc queue request data such as sg list, request, blk request and
bounce buffers, and updates any functions depending on the mmc queue
struct. This prepares for using multiple active requests in one mmc queue.

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
drivers/mmc/card/queue.c
drivers/mmc/card/queue.h