]> git.karo-electronics.de Git - linux-beck.git/commit
mmc: dw_mmc: fix incorrect setting of host->data of NULL
authorSeungwon Jeon <tgih.jun@samsung.com>
Tue, 22 May 2012 04:01:13 +0000 (13:01 +0900)
committerChris Ball <cjb@laptop.org>
Wed, 6 Jun 2012 13:37:03 +0000 (09:37 -0400)
commitfda5f736864c46324dbc50246ef1ca0e84ebf4ae
treed67b2b194c792f8e1cfe8d4111dcc31cb6e28ee7
parent141a712a4eb09639dd4973a7c5e6999e3b8ae04a
mmc: dw_mmc: fix incorrect setting of host->data of NULL

Setting host->data to NULL is incorrect sequence in
dw_mci_command_complete. This early setting makes the skip of
dma_unmap_sg in dw_mci_dma_cleanup.

Signed-off-by: Seungwon Jeon <tgih.jun@samsung.com>
Acked-by: Will Newton <will.newton@gmail.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/dw_mmc.c