Skip to content
Commit 961d3b27 authored by John Cox's avatar John Cox Committed by Mauro Carvalho Chehab
Browse files

media: videobuf2: Fix length check for single plane dmabuf queueing



Check against length in v4l2_buffer rather than vb2_buffer when the
buffer is a dmabuf. This makes the single plane test the same as the
existing multiplanar test.

Signed-off-by: default avatarJohn Cox <jc@kynesim.co.uk>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 906dceb4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment