diff options
author | Jan Kloetzke <jan.kloetzke@dspg.com> | 2012-02-05 22:29:11 +0000 |
---|---|---|
committer | Andy Fleming <afleming@freescale.com> | 2012-02-15 17:42:22 -0600 |
commit | 93ad0d18c0ff1fb0a141bdfe66c76b7d4f922619 (patch) | |
tree | cf9b93d36e6a54777a8412b1a686c3bd33723c9a /drivers/mmc/mv_sdhci.c | |
parent | cf39cf55971136b54c5aba3de9d0ac0c038c230b (diff) | |
download | u-boot-imx-93ad0d18c0ff1fb0a141bdfe66c76b7d4f922619.zip u-boot-imx-93ad0d18c0ff1fb0a141bdfe66c76b7d4f922619.tar.gz u-boot-imx-93ad0d18c0ff1fb0a141bdfe66c76b7d4f922619.tar.bz2 |
mmc: fix card busy polling
A MMC/SD card may always go into the programming state (and hence be
busy) after a block write. Therefore always check the card state, even
after single block writes. On the other hand there is no need to check
the card status after a read.
Also make sure that errors during busy polling are propagated upwards.
Signed-off-by: Jan Kloetzke <jan.kloetzke@dspg.com>
Cc: Andy Fleming <afleming@gmail.com>
Diffstat (limited to 'drivers/mmc/mv_sdhci.c')
0 files changed, 0 insertions, 0 deletions