Skip to content
Snippets Groups Projects
Commit 93ad0d18 authored by Jan Kloetzke's avatar Jan Kloetzke Committed by Andy Fleming
Browse files

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: default avatarJan Kloetzke <jan.kloetzke@dspg.com>
Cc: Andy Fleming <afleming@gmail.com>
parent cf39cf55
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment