mirror of
https://github.com/LineageOS/android_kernel_samsung_msm8226.git
synced 2026-10-05 00:00:57 +02:00
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>