diff options
| author | Hans Verkuil <[email protected]> | 2018-07-05 04:25:19 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2018-07-24 17:51:39 -0400 |
| commit | b509d733d337417bcb7fa4a35be3b9a49332b724 (patch) | |
| tree | fe10a5ecfda2ef65f6493d8ec8db3bdfbe091413 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | a50c7738e8ae3276a4b224e321bbd40aee88e8fe (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 <[email protected]>
Acked-by: Sakari Ailus <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions