]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: Revert "mmc: dw_mmc: Add check for IDMAC configuration"
authorSeungwon Jeon <tgih.jun@samsung.com>
Wed, 19 Sep 2012 05:58:31 +0000 (13:58 +0800)
committerChris Ball <cjb@laptop.org>
Wed, 19 Sep 2012 08:30:01 +0000 (16:30 +0800)
commite61091584de5235f49ad7ba0951d560c99b7ed58
treee29133fbe53d4115996bc6037f540abe92154a49
parentfe6cac412f8cd6bb2736f4de8f15199c3d9dc375
mmc: Revert "mmc: dw_mmc: Add check for IDMAC configuration"

This reverts commit 94c6cee91 (Add check for IDMAC configuration).
Synopsys says that only if internal dmac is not present, optional
external dma interface is present. When internal dmac is present,
'0' value in DMA_INTERFACE of HCON is reasonable. DMA_INTERFACE
indicates external dma interface. And idmac initialization is
prohibited now.

The commit should be reverted since: the check for IDMAC is not
reliable; falling back to PIO would provide awful performance; we
wouldn't expect to see instances of this block without DMA support.

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