From: Alex Dubov Date: Fri, 8 Dec 2006 05:50:47 +0000 (+1100) Subject: tifm_sd: alter order of the states in the command handler X-Git-Tag: v2.6.21-rc2~42^2~20^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1289335a2ab57d00c638c3954dc86d6c4eab5606;p=pandora-kernel.git 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 Signed-off-by: Pierre Ossman --- Reading git-diff-tree failed