kernel-ark/include/linux/mmc
Ulf Hansson f0cc9cf993 mmc: core: Detect card removal on I/O error
To prevent I/O as soon as possible at card removal, a new detect work is
re-scheduled without a delay to let a rescan remove the card device as
soon as possible.

Additionally, MMC_CAP2_DETECT_ON_ERR can now be used to handle "slowly"
removed cards that a scheduled detect work did not detect as removed.
To prevent further I/O requests for these lingering removed cards,
check if card has been removed and then schedule a detect work to
properly remove it.

Signed-off-by: Ulf Hansson <ulf.hansson@stericsson.com>
Reviewed-by: Namjae Jeon <linkinjeon@gmail.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
2012-03-27 12:19:58 -04:00
..
boot.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00
card.h mmc: MMC-4.5 Data Tag Support 2012-03-25 19:33:44 -04:00
cd-gpio.h mmc: add a generic GPIO card-detect helper 2012-01-11 23:58:45 -05:00
core.h mmc: allow upper layers to know immediately if card has been removed 2012-01-11 23:58:43 -05:00
dw_mmc.h mmc: Support of PCI mode in the dw_mmc driver 2012-03-25 19:33:44 -04:00
host.h mmc: core: Detect card removal on I/O error 2012-03-27 12:19:58 -04:00
ioctl.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00
Kbuild mmc: core: Add mmc CMD+ACMD passthrough ioctl 2011-05-24 21:02:54 -04:00
mmc.h mmc: MMC-4.5 Data Tag Support 2012-03-25 19:33:44 -04:00
pm.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00
sd.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00
sdhci-pci-data.h mmc: sdhci-pci: add platform data 2012-01-11 23:58:47 -05:00
sdhci-spear.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00
sdhci.h mmc: host: Adds support for eMMC 4.5 HS200 mode 2012-01-12 15:17:16 -05:00
sdio_func.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00
sdio_ids.h mmc: Standardize header file inclusion checks. 2011-07-20 17:20:48 -04:00
sdio.h mmc: sdio: support SDIO UHS cards 2012-01-11 23:58:41 -05:00
sh_mmcif.h mmc: sh_mmcif: simplify platform data 2011-10-26 16:32:09 -04:00
sh_mobile_sdhi.h mmc: sdhi: Allow named IRQs to use specific handlers 2011-10-26 15:43:36 -04:00
tmio.h mmc: sdhi: Add write16_hook 2011-07-20 17:20:57 -04:00