OSDN Git Service

[media] SOLO6x10: Fix video headers on certain hardware
authorKrzysztof Hałasa <khalasa@piap.pl>
Thu, 12 Sep 2013 11:43:34 +0000 (08:43 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Mon, 14 Oct 2013 09:33:22 +0000 (06:33 -0300)
commit39e30a22d2f03feba7fd8cbb79e3c1d93e812c2e
treece49ce1cc573c36e23a8c3aac5344cbcc7cada7e
parent4a61ad3c4a2c8b50f6b5835d0d36bd8639b9f7ee
[media] SOLO6x10: Fix video headers on certain hardware

On certain platforms a sequence of dma_map_sg() and dma_unmap_sg()
discards data previously stored in the buffers. Build video headers
only after the DMA is completed.

Signed-off-by: Krzysztof Ha?asa <khalasa@piap.pl>
[hans.verkuil@cisco.com: fix merge problems due to the recent solo sg_table changes]
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/staging/media/solo6x10/solo6x10-v4l2-enc.c