]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: cedrus: drop min_buffers_needed.
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Thu, 29 Jul 2021 13:36:25 +0000 (15:36 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 6 Aug 2021 08:44:42 +0000 (10:44 +0200)
commit65da1fc4c325c767db502f2f4f4c2c0eb3527357
tree8386c137e5c1e305016bcdc3301fa9c2a5b3b3ab
parent297289d611b802ecd232df6cab02987f9059c3bc
media: cedrus: drop min_buffers_needed.

There is no reason for the cedrus driver to set min_buffers_needed.
A non-zero min_buffers_needed can cause problems with the Request API
if start_streaming fails when queueing a buffer from a request.

Since it is not needed for this driver, just remove it.

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