[...] >>> >>> I should point out that retrying CMD13 will clear the error bits in the >>> status so there is no point retrying when checking for the SWITCH_ERROR bit. >>> i.e. we need a version of __switch_send_status() that sets retries to zero. >> >> Are you really sure about this? > > I don't think I have ever tested it. I was going on what the spec says: > "1) Error bit. Signals an error condition was detected by the device. These > bits are cleared as soon as the response (reporting the error) is sent out." Couldn't have been more clear than that. So when doing CMD13 polling, it's seems like we should be validating the SWITCH_ERROR bit for each successful CMD13 response, as otherwise we may end up loosing that information. [...] Kind regards Uffe -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html