mmc: block: move error path in issue_rw_rq to a separate function(emmc).
authorPer Forlin <per.forlin@linaro.org>
Fri, 1 Jul 2011 16:55:30 +0000 (18:55 +0200)
committerkfx <kfx@rock-chips.com>
Mon, 8 Jul 2013 06:36:43 +0000 (14:36 +0800)
commit3bc2a47d44d9bbe4d81b661dbfca35e1d50a6d1b
tree423fedb158f7f72b122576b28923f8215998c98c
parent4702b8371ea4935bb74b5d97f7eeca1796d34891
mmc: block: move error path in issue_rw_rq to a separate function(emmc).

Break out code without functional changes. This simplifies the code and
makes way for handling two parallel requests.

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>
Conflicts:
drivers/mmc/card/block.c
drivers/mmc/card/block.c