Russell King
125ab12acf
[ARM] dma: fix dmabounce dma_sync_xxx() implementations
...
The dmabounce dma_sync_xxx() implementation have been broken for
quite some time; they all copy data between the DMA buffer and
the CPU visible buffer no irrespective of the change of ownership.
(IOW, a DMA_FROM_DEVICE mapping copies data from the DMA buffer
to the CPU buffer during a call to dma_sync_single_for_device().)
Fix it by getting rid of sync_single(), moving the contents into
the recently created dmabounce_sync_for_xxx() functions and adjusting
appropriately.
This also makes it possible to properly support the DMA range sync
functions.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2008-09-29 10:40:22 +01:00
..
2008-08-07 09:55:48 +01:00
2008-08-07 09:39:37 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-09-01 12:06:27 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-09-01 12:06:24 +01:00
2008-09-25 15:35:28 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-09-01 12:06:23 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-09-29 10:40:22 +01:00
2008-08-07 09:55:48 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-07 09:55:48 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-09-01 12:06:26 +01:00
2008-08-02 21:32:35 +01:00
2008-08-07 09:55:48 +01:00
2008-08-02 21:32:35 +01:00
2008-08-07 09:39:37 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-07 09:55:48 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-09-06 10:56:27 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-15 08:35:42 -07:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-09-01 12:06:26 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-09-06 12:10:45 +01:00
2008-09-01 12:06:33 +01:00
2008-08-02 21:32:35 +01:00
2008-09-01 12:06:24 +01:00
2008-08-02 21:32:35 +01:00
2008-08-07 09:55:48 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-16 20:01:18 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-07 09:55:48 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-07 09:55:48 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-16 09:30:05 +01:00
2008-08-02 21:32:35 +01:00
2008-09-06 10:35:51 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-07 09:55:48 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-09-01 12:06:23 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-09-06 10:35:51 +01:00
2008-08-02 21:32:35 +01:00
2008-08-07 09:55:48 +01:00
2008-08-02 21:32:35 +01:00
2008-08-12 19:54:08 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-09-01 12:06:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-12 19:54:07 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-08-02 21:32:35 +01:00
2008-09-06 12:10:45 +01:00
2008-08-02 21:32:35 +01:00