]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: card: Kill block requests if card is removed
authorSujit Reddy Thumma <sthumma@codeaurora.org>
Thu, 8 Dec 2011 08:35:50 +0000 (14:05 +0530)
committerChris Ball <cjb@laptop.org>
Thu, 12 Jan 2012 04:58:44 +0000 (23:58 -0500)
commitefc789dba5d6d031013b42f852e3d400bdb18b9b
tree57ebc4322ea4c2e269dd6b3ae599bdbca81528fe
parent2db981db73a52dbe19cde0a398611cbde7164dea
mmc: card: Kill block requests if card is removed

Kill block requests when the host realizes that the card is
removed from the slot and is sure that subsequent requests
are bound to fail. Do this silently so that the block
layer doesn't output unnecessary error messages.

Signed-off-by: Sujit Reddy Thumma <sthumma@codeaurora.org>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/card/block.c
drivers/mmc/card/queue.c