Re: [PATCH] [media] coda: drop dma_sync_single_for_device in coda_bitstream_queue

2015-03-27 Thread Ian Molton
On 25/03/15 16:45, Philipp Zabel wrote: Issuing a cache flush for the whole bitstream buffer is not optimal in the first place when only a part of it was written. But given that the buffer is mapped in writecombine mode, it is not needed at all. Signed-off-by: Philipp Zabel Tested-by: Ian Mol

[PATCH] [media] coda: drop dma_sync_single_for_device in coda_bitstream_queue

2015-03-25 Thread Philipp Zabel
Issuing a cache flush for the whole bitstream buffer is not optimal in the first place when only a part of it was written. But given that the buffer is mapped in writecombine mode, it is not needed at all. Signed-off-by: Philipp Zabel --- drivers/media/platform/coda/coda-bit.c | 4 1 file c