Commit cfefa141 authored by Sujit Reddy Thumma's avatar Sujit Reddy Thumma
Browse files

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.

Change-Id: I25e29ac2fdab999d506ef722966a4725ea584c83
Signed-off-by: default avatarSujit Reddy Thumma <sthumma@codeaurora.org>
Acked-by: default avatarAdrian Hunter <adrian.hunter@intel.com>
Signed-off-by: default avatarChris Ball <cjb@laptop.org>
[sthumma@codeaurora.org: Fixed merge conflicts]
Signed-off-by: default avatarSujit Reddy Thumma <sthumma@codeaurora.org>
parent 8b581b08
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment