Searched hist:"93 ad0d18c0ff1fb0a141bdfe66c76b7d4f922619" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/mmc/ |
| H A D | mmc.c | 93ad0d18c0ff1fb0a141bdfe66c76b7d4f922619 Sun Feb 05 22:29:11 UTC 2012 Jan Kloetzke <jan.kloetzke@dspg.com> 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>
|