These patches is based upon the patch recently pushed to the mmc mailing list: mmc: core: Force a "detect" to handle non-properly removed cards According to Adrian Hunters comment about adding a CAP2 flag to enable this feature has been done. Patch 2 depends on patch 1; but patch 1 can also be discussed separately. Ulf Hansson (2): mmc: core: Prevent I/O as soon as possible at card removal mmc: core: Detect card removal on I/O error drivers/mmc/core/core.c | 19 ++++++++++++++++--- include/linux/mmc/host.h | 1 + 2 files changed, 17 insertions(+), 3 deletions(-) -- 1.7.5.4 -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html