diff options
| author | Veerabhadrarao Badiganti <vbadigan@codeaurora.org> | 2017-11-13 20:27:36 +0530 |
|---|---|---|
| committer | Veerabhadrarao Badiganti <vbadigan@codeaurora.org> | 2017-11-13 20:43:09 +0530 |
| commit | e773b0dbb9f4168327b126696d351e1c5285f207 (patch) | |
| tree | 2311289cd49b6bcb63e5b0803113a2c23916cfbb /scripts/basic/bin2c.c | |
| parent | b0ba6e47923aba09cf52ec9a92c12b114462bd9a (diff) | |
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>
Diffstat (limited to 'scripts/basic/bin2c.c')
0 files changed, 0 insertions, 0 deletions
