Thread (1 message) 1 message, 1 author, 2012-07-10
DORMANTno replies

[PATCH] mmc: atmel-mci: fix incorrect setting of host->data to NULL

From: Chris Ball <hidden>
Date: 2012-07-10 03:18:33
Also in: linux-mmc

Hi,

On Fri, Jul 06 2012, ludovic.desroches wrote:
Le 07/06/2012 11:58 AM, Nicolas Ferre a ?crit :
quoted
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 form dw_mmc by Seungwon Jeon.

Signed-off-by: Nicolas Ferre <redacted>
Cc: Seungwon Jeon <redacted>
Acked-by: Ludovic Desroches <redacted>
Thanks, pushed to mmc-next for 3.6.

- Chris.
-- 
Chris Ball   [off-list ref]   <http://printf.net/>
One Laptop Per Child
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help