From: Eric Miao Date: Sat, 5 Jun 2010 07:16:17 +0000 (+0800) Subject: [ARM] pxa: remove now unnecessary dma_needs_bounce() X-Git-Tag: v2.6.36-rc1~102^2^2^2~2^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4fa5518c65df7a2c4b6c58061ac53d0b01228042;p=pandora-kernel.git [ARM] pxa: remove now unnecessary dma_needs_bounce() With a correct dev->dma_mask before calling dmabounce_register_dev(), dma_needs_bounce() is not necessary. The sa1111, though, is a bit complicated. Until it's fully understood and fixed, dma_needs_bounce() for sa1111 is kept if CONFIG_SA1111 is enabled with no side effect (with the condition of machine_is_*) Thanks for Mike Rapoport to fix one error in the original version of the patch and get this tested. Acked-by: Mike Rapoport Signed-off-by: Eric Miao --- Reading git-diff-tree failed