mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 14:11:20 +00:00
tifm_sd: replace command completion state machine with full checking
State machine used to to track mmc command state was found to be fragile and unreliable, making many cards unusable. The safer solution is to perform all needed checks at every card event. Signed-off-by: Alex Dubov <oakad@yahoo.com> Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
This commit is contained in:
parent
dfef26d9aa
commit
72dc9d9619
2 changed files with 151 additions and 135 deletions
|
@ -67,6 +67,7 @@ enum {
|
|||
#define TIFM_SOCK_STATE_POWERED 0x00000080
|
||||
|
||||
#define TIFM_FIFO_ENABLE 0x00000001 /* Meaning of this constant is unverified */
|
||||
#define TIFM_FIFO_READY 0x00000001 /* Meaning of this constant is unverified */
|
||||
#define TIFM_FIFO_INT_SETALL 0x0000ffff
|
||||
#define TIFM_FIFO_INTMASK 0x00000005 /* Meaning of this constant is unverified */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue