]> git.baikalelectronics.ru Git - kernel.git/commit
[media] coda: drop dma_sync_single_for_device in coda_bitstream_queue
authorPhilipp Zabel <p.zabel@pengutronix.de>
Wed, 25 Mar 2015 16:45:09 +0000 (13:45 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 10 Apr 2015 13:11:37 +0000 (10:11 -0300)
commitefc01b9481f5e6c0f6e12b51f2038a909b7ea1e9
treedfcd8b5ff9f57e7cd9c65aaa42d70dfe658f2a7c
parent2238282a01332ed61b46cd69b6e60f35b940a00b
[media] coda: drop dma_sync_single_for_device in coda_bitstream_queue

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 <p.zabel@pengutronix.de>
Tested-by: Ian Molton <imolton@ad-holdings.co.uk>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/coda/coda-bit.c