]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
mmc: dw_mmc: fix the IDMAC sw reset
authorSeungwon Jeon <tgih.jun@samsung.com>
Tue, 22 May 2012 04:01:03 +0000 (13:01 +0900)
committerChris Ball <cjb@laptop.org>
Wed, 6 Jun 2012 13:36:21 +0000 (09:36 -0400)
commit141a712a4eb09639dd4973a7c5e6999e3b8ae04a
tree30a6eb7319b718c585f34e9827bf86fb3b2c3637
parenteed6c63cefaf935e6fb28c4dd9977a280ae544a8
mmc: dw_mmc: fix the IDMAC sw reset

IDMAC may not be cleaned in driver probe if it has been already used in
boot time. So IDMAC needs sw reset newly. And DMA interface reset
precedes the internal DMAC reset. Additionally SDMMC_IDMAC_SWRESET is
replaced with magic code.

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