[sdmmc] Fix Sandisk U1 fast power cycle
Some Sandisk U1 sd cards do not behave nicely if they power cycle too fast. A min 100ms wait, is enough to mitigate that. Fortunately, because of how the code paths are structured, this was never hit.
This commit is contained in:
1 parent
36d2da5d79
commit
25f6e91677
5 files changed
+17
-3
No files matched your search
@@ -96,7 +96,7 @@ static u32 _parity32_even(u32 *words, u32 count)
|
||||
lo = ((x & 0xf) ^ (x >> 4)) & 3;
|
||||
hi = ((x & 0xf) ^ (x >> 4)) >> 2;
|
||||
x = hi ^ lo;
|
||||
|
||||
|
||||
return (x & 1) ^ (x >> 1);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user