mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
mmc: it's safe to ignore mmc_send_if_cond() return value
Return value of mmc_send_if_cond() can be safely ignored (as it is done in Linux). This makes older cards work with MXC MCI controller. Signed-off-by: Ilya Yanok <yanok@emcraft.com>
This commit is contained in:
parent
dba6fcf651
commit
b81830f6e3
1 changed files with 0 additions and 4 deletions
|
|
@ -867,10 +867,6 @@ int mmc_init(struct mmc *mmc)
|
|||
/* Test for SD version 2 */
|
||||
err = mmc_send_if_cond(mmc);
|
||||
|
||||
/* If we got an error other than timeout, we bail */
|
||||
if (err && err != TIMEOUT)
|
||||
return err;
|
||||
|
||||
/* Now try to get the SD card's operating condition */
|
||||
err = sd_send_op_cond(mmc);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue