mmc: block: don't start new request when the card is removed
authorSeungwon Jeon <tgih.jun@samsung.com>
Tue, 22 Jan 2013 10:48:07 +0000 (19:48 +0900)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 7 Jun 2015 23:12:05 +0000 (02:12 +0300)
commitaf95f36608dcdf7267ae2052faf3cf0fa59488a6
tree01e326f6080e2dc0924da8ce684a94774f3a2d40
parent9b34672b29a550660a10d8b9107d7b3642b5ddca
mmc: block: don't start new request when the card is removed

It's not necessary to start a new request while error handling if
the card was removed.

Signed-off-by: Seungwon Jeon <tgih.jun@samsung.com>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
Tested-by: Konstantin Dorfman <kdorfman@codeaurora.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/card/block.c