]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/mmc/card/queue.c
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)
commita8ad82cc1b22d04916d9cdb1dc75052e80ac803c
tree57ebc4322ea4c2e269dd6b3ae599bdbca81528fe
parent4137e50494cb3496fbb6ccd27aa7b6d7c9634c1e
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