mmc: core: Return card status if sdr104_wa is not present
On the targets in which sdr104 workaround is not needed, simply return
card status from mmc_recovery_fallback_lower_speed() call.
If any platform uses the tray for SD card, then even if the tray is
inserted without sd card, card-detect gpio pulled low. And in card
removal detection path we end-up in calling
mmc_recovery_fallback_lower_speed(). If we don't return error or card
status it may treat errors are due to CRC errors and try to fall-back to
lower speed mode instead of marking the card as removed.
Change-Id: I83a41c44f5b031663733d7ffa226c1feaa5c9203
Signed-off-by: Veerabhadrarao Badiganti <vbadigan@codeaurora.org>
1 file changed