Jan Kloetzke 93ad0d18c0 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>
2012-02-15 17:42:22 -06:00
..
2012-01-08 21:28:27 -06:00
2012-01-08 21:28:27 -06:00
2012-01-08 21:28:28 -06:00
2012-01-08 21:28:27 -06:00
2011-11-11 11:36:56 +01:00
2012-01-08 21:28:27 -06:00
2012-02-15 17:42:22 -06:00
2012-02-12 10:11:26 +01:00
2012-01-08 21:28:27 -06:00
2012-01-08 21:28:27 -06:00
2009-02-20 03:47:50 +01:00
2012-01-08 21:28:27 -06:00
2012-01-08 21:28:27 -06:00
2012-01-08 21:28:27 -06:00