mmc: msm_sdcc: detect card removal on I/O error

This change defines MMC_CAP2_DETECT_ON_ERR cap which will
let MMC core layer to detect card removal on any I/O error.
If this cap is not enabled, MMC block layer will keep
throwing the I/O errors for all the requests in MMC block
queue.

Change-Id: I3c4795783d1b37ca95aa946ea8d25dee4eed1902
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
1 file changed