Skip to content
Snippets Groups Projects
Commit b81830f6 authored by Ilya Yanok's avatar Ilya Yanok Committed by Wolfgang Denk
Browse files

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: default avatarIlya Yanok <yanok@emcraft.com>
parent dba6fcf6
No related branches found
No related tags found
No related merge requests found
...@@ -867,10 +867,6 @@ int mmc_init(struct mmc *mmc) ...@@ -867,10 +867,6 @@ int mmc_init(struct mmc *mmc)
/* Test for SD version 2 */ /* Test for SD version 2 */
err = mmc_send_if_cond(mmc); 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 */ /* Now try to get the SD card's operating condition */
err = sd_send_op_cond(mmc); err = sd_send_op_cond(mmc);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment