diff options
author | ian <ian@FreeBSD.org> | 2014-02-16 17:22:49 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2014-02-16 17:22:49 +0000 |
commit | 1b3ed53c801a3acd14f95d66a6c3224648e79135 (patch) | |
tree | 792e553c242dbba4c0a7f0d59586caf973afcc74 /contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp | |
parent | 0c8f485c9421879292ffd9a528130bc8ee8d0439 (diff) | |
download | FreeBSD-src-1b3ed53c801a3acd14f95d66a6c3224648e79135.zip FreeBSD-src-1b3ed53c801a3acd14f95d66a6c3224648e79135.tar.gz |
After a timeout, reset the controller using SDHCI_RESET_CMD|SDHCI_RESET_DATA
rather than SDHCI_RESET_ALL; the latter turns off clocks and power, removing
any possibility of recovering from the error.
Also, double the timeout to 2 seconds. Despite what the SD spec says about
all transactions completing in 250ms or less, I have a card which sometimes
takes more than a second to complete a write.
Diffstat (limited to 'contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp')
0 files changed, 0 insertions, 0 deletions