diff options
author | Ilya Yanok <yanok@emcraft.com> | 2009-05-14 14:03:09 +0400 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-06-04 00:15:09 +0200 |
commit | b81830f6e3b3e6ed114d071eb107965e49fa9b5a (patch) | |
tree | 71efd0789cd6ba3e4a4f6125b4b536d7886e0c1b /drivers | |
parent | dba6fcf6517faa5dda7df8109febe03c9c72a6f5 (diff) | |
download | u-boot-imx-b81830f6e3b3e6ed114d071eb107965e49fa9b5a.zip u-boot-imx-b81830f6e3b3e6ed114d071eb107965e49fa9b5a.tar.gz u-boot-imx-b81830f6e3b3e6ed114d071eb107965e49fa9b5a.tar.bz2 |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mmc/mmc.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index 7791c38..27116bf 100644 --- a/drivers/mmc/mmc.c +++ b/drivers/mmc/mmc.c @@ -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); |