diff options
author | Nicolas Ferre <nicolas.ferre@atmel.com> | 2012-07-06 11:58:33 +0200 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2012-07-22 15:25:50 -0400 |
commit | 41b4e9a194f69b1c945038c559ea407a6b383e81 (patch) | |
tree | 5836b9416b754efaa52b6e6f65fc72140563fb01 /arch/m68k/sun3/mmu_emu.c | |
parent | eb6d5ae1c918cefbfe06f6f96e1a75f2179d82ce (diff) | |
download | blackbird-op-linux-41b4e9a194f69b1c945038c559ea407a6b383e81.tar.gz blackbird-op-linux-41b4e9a194f69b1c945038c559ea407a6b383e81.zip |
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>
Diffstat (limited to 'arch/m68k/sun3/mmu_emu.c')
0 files changed, 0 insertions, 0 deletions