diff options
author | Ulf Hansson <ulf.hansson@stericsson.com> | 2012-02-06 04:42:39 -0500 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-03-27 12:19:58 -0400 |
commit | f0cc9cf99326926fd76f77645c48d16d647802eb (patch) | |
tree | 62ad1c9e51cb27c797acaa5481d93a4306125bcd /arch/ia64 | |
parent | 885c3e800cf99db3391247776bfa2d262b21a72b (diff) |
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>
Diffstat (limited to 'arch/ia64')
0 files changed, 0 insertions, 0 deletions