tifm_sd: replace command completion state machine with full checking
authorAlex Dubov <oakad@yahoo.com>
Thu, 12 Apr 2007 07:05:23 +0000 (17:05 +1000)
committerPierre Ossman <drzeus@drzeus.cx>
Tue, 1 May 2007 11:04:14 +0000 (13:04 +0200)
commit72dc9d9619dd4682f4197e7a7f19af22fd6516a7
treefc761d3189979ddfec88848fb744d8275cf812c3
parentdfef26d9aad4f983da232b259ee7f7faec479b2d
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>
drivers/mmc/tifm_sd.c
include/linux/tifm.h