diff options
| author | Hans Verkuil <hverkuil@xs4all.nl> | 2018-07-05 04:25:19 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-09-26 08:35:05 +0200 |
| commit | 0eda7472163dbda62a0ac27d3e89851f0e603eba (patch) | |
| tree | 8ae81cbe434c3a7de3a0f857125ae4940fe67f87 /tools/perf/scripts/python | |
| parent | 9f6d6fb580c0f26cd7ae75dfe75063f4ccc6ccca (diff) | |
media: videobuf2-core: check for q->error in vb2_core_qbuf()
[ Upstream commit b509d733d337417bcb7fa4a35be3b9a49332b724 ]
The vb2_core_qbuf() function didn't check if q->error was set. It is
checked in __buf_prepare(), but that function isn't called if the buffer
was already prepared before with VIDIOC_PREPARE_BUF.
So check it at the start of vb2_core_qbuf() as well.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
