From: Seungwon Jeon Date: Mon, 20 Feb 2012 02:01:43 +0000 (+0900) Subject: mmc: dw_mmc: Regression fix for non-IDMAC DMA X-Git-Tag: v3.4-rc1~49^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=885c3e800cf99db3391247776bfa2d262b21a72b;p=pandora-kernel.git mmc: dw_mmc: Regression fix for non-IDMAC DMA 3ec7699d3bb1b0ee7 ("mmc: dw_mmc: Add support for pre_req and post_req") broke non-IDMAC DMA, because dw_mci_pre_dma_transfer() is valid only if using internal DMA. In case of using other DMA it returns -ENOSYS. It prevents the DMA operations. This patch makes dw_mci_pre_dma_transfer() effective in all DMA cases again. Reported-by: James Hogan Signed-off-by: Seungwon Jeon Reviewed-by: Namjae Jeon Acked-by: James Hogan Signed-off-by: Chris Ball --- Reading git-diff-tree failed