media: cedrus: set requires_requests
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 6 Mar 2019 21:13:23 +0000 (16:13 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 25 Mar 2019 17:25:14 +0000 (13:25 -0400)
commitca0d1bd489a4e4cb0979a84d5b9ed037764d709f
treeb2aeebe8f3bb31d1213c150892ba935e35e42597
parent90675d391e9196e95a9e9e31eaa9693d4a995927
media: cedrus: set requires_requests

The cedrus stateless decoder requires the use of request, so
indicate this by setting requires_requests to 1.

Note that the cedrus driver never checked for this, and as far
as I can tell would just crash if an attempt was made to queue
a buffer without a request.

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