]> git.baikalelectronics.ru Git - kernel.git/commit
[ARM] pxa: remove now unnecessary dma_needs_bounce()
authorEric Miao <eric.y.miao@gmail.com>
Sat, 5 Jun 2010 07:16:17 +0000 (15:16 +0800)
committerEric Miao <eric.y.miao@gmail.com>
Thu, 5 Aug 2010 06:32:21 +0000 (14:32 +0800)
commitbfe73c068e89b568a981db505341170cb3c3534d
tree3b3d86888f58ca1ef623e91d7bd41fb90ceae289
parent4747e3512cf8959b5cd95b934d1c215bb5348c0d
[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 <mike@compulab.co.il>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
arch/arm/common/it8152.c
arch/arm/include/asm/dma-mapping.h