Skip to content
Commit d3049504 authored by Adrian Hunter's avatar Adrian Hunter Committed by Chris Ball
Browse files

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: default avatarAdrian Hunter <adrian.hunter@intel.com>
Acked-by: default avatarSujit Reddy Thumma <sthumma@codeaurora.org>
Signed-off-by: default avatarChris Ball <cjb@laptop.org>
parent 482fce99
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment