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. Change-Id: Iad4806319b6ad67048674adfdd919458186521d6 Signed-off-by:Adrian Hunter <adrian.hunter@intel.com> Acked-by:
Sujit Reddy Thumma <sthumma@codeaurora.org> Signed-off-by:
Chris Ball <cjb@laptop.org> [sthumma@codeaurora.org: Fixed merge conflicts] Signed-off-by:
Sujit Reddy Thumma <sthumma@codeaurora.org>
Loading
Please sign in to comment