]> git.baikalelectronics.ru Git - kernel.git/commit
media: coda: make coda_bitstream_queue more versatile
authorPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 18 Jun 2019 16:45:18 +0000 (12:45 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 24 Jun 2019 18:28:34 +0000 (14:28 -0400)
commit40eb63eff2e1797ca34320f0bc64e7f421191bd2
treee9af972d74dd46a4c1e74875aec7e8bb1cea9201
parente84f15fbeaae356ec503f8619052ee5133f99e53
media: coda: make coda_bitstream_queue more versatile

Pass vaddr and size to coda_bitstream_queue instead of a struct
vb2_v4l2_buffer to make it reusable for queueing data that is
not exactly a whole v4l2 buffer into the bitstream ringbuffer.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/coda/coda-bit.c