mmc: core: Clean up after mmc_pre_req if card was removed
authorUlf Hansson <ulf.hansson@stericsson.com>
Mon, 5 Mar 2012 14:52:43 +0000 (15:52 +0100)
committerChris Ball <cjb@laptop.org>
Tue, 27 Mar 2012 16:20:04 +0000 (12:20 -0400)
Make sure mmc_start_req cancels the prepared job, if the request
was prevented to be started due to the card has been removed.

This bug was introduced in commit:
mmc: allow upper layers to know immediately if card has been removed

Signed-off-by: Ulf Hansson <ulf.hansson@stericsson.com>
Reviewed-by: Per Forlin <per.forlin@stericsson.com>
Tested-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Chris Ball <cjb@laptop.org>

No differences found