commit | 4e929ddaee9ed7dd71bb4b6446a74ba3ec4ddfe1 | [log] [tgz] |
---|---|---|
author | Jan Kloetzke <jan.kloetzke@dspg.com> | Sun Feb 05 22:29:11 2012 +0000 |
committer | Andy Fleming <afleming@freescale.com> | Wed Feb 15 17:42:22 2012 -0600 |
tree | cf9b93d36e6a54777a8412b1a686c3bd33723c9a | |
parent | 5d331d801aab33a7f3f80d814b374dd039d4fbd8 [diff] |
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>