From: Adrian Hunter Date: Mon, 28 Nov 2011 14:22:00 +0000 (+0200) Subject: mmc: allow upper layers to know immediately if card has been removed X-Git-Tag: sz_173~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73c60edc281379381e980b7f2b5e1d9a63338336;p=pandora-kernel.git mmc: allow upper layers to know immediately if card has been removed Add a function mmc_detect_card_removed() which upper layers can use to determine immediately if a card has been removed. This function should be called after an I/O request fails so that all queued I/O requests can be errored out immediately instead of waiting for the card device to be removed. Signed-off-by: Adrian Hunter Acked-by: Sujit Reddy Thumma Signed-off-by: Chris Ball --- Reading git-diff-tree failed