diff options
| author | 2018-07-05 04:25:19 -0400 | |
|---|---|---|
| committer | 2018-07-24 17:51:39 -0400 | |
| commit | b509d733d337417bcb7fa4a35be3b9a49332b724 (patch) | |
| tree | fe10a5ecfda2ef65f6493d8ec8db3bdfbe091413 /tools/perf/scripts/python/bin/export-to-sqlite-report | |
| parent | media: sh: migor: Remove stale soc_camera include (diff) | |
media: videobuf2-core: check for q->error in vb2_core_qbuf()
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>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-sqlite-report')
0 files changed, 0 insertions, 0 deletions
