media: cedrus: add buf_out_validate callback
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 16 Jan 2019 12:01:16 +0000 (10:01 -0200)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Thu, 31 Jan 2019 11:31:07 +0000 (09:31 -0200)
commit6b3e4c4cc162390b833e57de656644786ca88919
tree3a178d8044b9591eb750345c2925431792a32f41
parent1f2f510753becf607f9974a39a89ab1878f24b9d
media: cedrus: add buf_out_validate callback

Validate the field for an output buffer. This ensures that the
field is validated when the buffer is queued to a request, and
not when the request itself is queued, which is too late.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/staging/media/sunxi/cedrus/cedrus_video.c