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

Chris Ball cjb at laptop.org
Mon Jul 9 23:18:33 EDT 2012


Hi,

On Fri, Jul 06 2012, ludovic.desroches wrote:
> Le 07/06/2012 11:58 AM, Nicolas Ferre a écrit :
>> 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 <nicolas.ferre at atmel.com>
>> Cc: Seungwon Jeon <tgih.jun at samsung.com>
>
> Acked-by: Ludovic Desroches <ludovic.desroches at atmel.com>

Thanks, pushed to mmc-next for 3.6.

- Chris.
-- 
Chris Ball   <cjb at laptop.org>   <http://printf.net/>
One Laptop Per Child



More information about the linux-arm-kernel mailing list