aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorLaurent Pinchart <[email protected]>2014-03-09 21:42:52 -0300
committerMauro Carvalho Chehab <[email protected]>2014-05-25 11:37:49 -0300
commit34ea4d4417bb726245fdaeb2f8951eaa0c18fc4c (patch)
tree9953e2cfbfc8075dee2b7775fdb6c5d157d83a9b /tools/perf/util/trace-event-scripting.c
parent08344492b350870db4499c7b90220030f07a5d4b (diff)
[media] v4l: vb2: Add a function to discard all DONE buffers
When suspending a device while a video stream is active all buffers marked as done but not dequeued yet will be kept across suspend and given back to userspace after resume. This will result in outdated buffers being dequeued. Introduce a new vb2 function to mark all done buffers as erroneous instead, to be used by drivers at resume time. Signed-off-by: Laurent Pinchart <[email protected]> Acked-by: Hans Verkuil <[email protected]> Acked-by: Sakari Ailus <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions