mmc: dw_mmc: amend use of idmac sw reset
authorSeungwon Jeon <tgih.jun@samsung.com>
Fri, 30 Aug 2013 15:14:33 +0000 (00:14 +0900)
committerChris Ball <cjb@laptop.org>
Thu, 26 Sep 2013 01:36:26 +0000 (21:36 -0400)
commit5ce9d96177908e288bf64449a3b7b7159940050b
treecca3c4f137ab8dc963dd6283795b9d1a1b7390b7
parent31bff450d243bc6a75bdfd0a60e4bc18907c7f27
mmc: dw_mmc: amend use of idmac sw reset

First, compiling warning along with previous change is removed.
[drivers/mmc/host/dw_mmc.c:1890:7: warning: unused variable 'ctrl']
And with the recommendation in manual, IDMAC software reset is followed
by dma-reset of the CTRL register in order to terminate the transfer.

Signed-off-by: Seungwon Jeon <tgih.jun@samsung.com>
Tested-by: Alim Akhtar <alim.akhtar@samsung.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/dw_mmc.c