mmc: msm_sdcc: return appropriate error if card is removed
If the card is removed before a request is started, the error
was not propagated to core and block layers. This led to flooding
of messages on the console leading to a crash/hang.
This patch propagates the appropriate error to the upper layers as a
result of which the request is failed quietly without flooding of
console.
CRs-fixed: 424497
Change-Id: Ica35c33ea26c27d13bd2cd0ae1b9d926bc0240b9
Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
1 file changed