From: Nicolas Ferre Date: Fri, 6 Jul 2012 09:58:33 +0000 (+0200) Subject: mmc: atmel-mci: fix incorrect setting of host->data to NULL X-Git-Tag: v3.6-rc1~153^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41b4e9a194f69b1c945038c559ea407a6b383e81;p=pandora-kernel.git mmc: atmel-mci: fix incorrect setting of host->data to NULL Setting host->data to NULL is incorrect sequence in STATE_SENDING_STOP state of FSM: This early setting leads to the skip of dma_unmap_sg() in atmci_dma_cleanup() which is a bug. Idea taken from dw_mmc by Seungwon Jeon. Signed-off-by: Nicolas Ferre Cc: Seungwon Jeon Acked-by: Ludovic Desroches Signed-off-by: Chris Ball --- Reading git-diff-tree failed