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, 3 Oct 2012 14:05:25 +0000 (10:05 -0400)
commit897b69e72054a39c1c1d99c8f334ffed6dc99ac4
tree0be3853d016576e90f40325cda3e08607a70b7aa
parentf6ad0a481342223b2e7ae9f55b154e14f1391ada
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