Nicolas Ferre 41b4e9a194 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 <nicolas.ferre@atmel.com>
Cc: Seungwon Jeon <tgih.jun@samsung.com>
Acked-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
2012-07-22 15:25:50 -04:00
..
2012-02-03 13:33:05 +01:00
2011-12-07 22:02:05 +00:00
2012-04-22 11:17:25 -04:00
2009-03-24 21:30:03 +01:00
2009-10-01 16:11:15 -07:00
2012-05-15 13:29:42 +02:00
2012-06-20 14:39:36 -07:00
2012-05-25 08:23:32 -07:00
2007-07-26 01:53:31 +02:00