]> err.no Git - linux-2.6/commit
tifm_sd: alter order of the states in the command handler
authorAlex Dubov <oakad@yahoo.com>
Fri, 8 Dec 2006 05:50:47 +0000 (16:50 +1100)
committerPierre Ossman <drzeus@drzeus.cx>
Sun, 4 Feb 2007 19:54:07 +0000 (20:54 +0100)
commit1289335a2ab57d00c638c3954dc86d6c4eab5606
tree640694a63b26625a772e92ac30e0539b57511316
parentfba68bd2dab1ac99af3c5a963ec9581cfa9f1725
tifm_sd: alter order of the states in the command handler

Previously, stop command was issued right after BRS (block received/sent)
event. Stop command completion event could interfere with the card busy
event, causing miscount of the written blocks.
This patch ensures that stop command issued as last action for a
particular command, after DMA sompletion event and written block
count verification.

Signed-off-by: Alex Dubov <oakad@yahoo.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/tifm_sd.c