aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRicardo Ribalda <[email protected]>2013-11-08 07:08:45 -0300
committerMauro Carvalho Chehab <[email protected]>2013-12-09 11:41:53 -0200
commitf956035ce70b8da9928aac1424485c3526fccb11 (patch)
tree34a16f7079238a2d0f802638b04be8883ce27dad /tools/perf/scripts/python
parent202dfbdc2b88286463b9e05df4be1c0bce50af4a (diff)
[media] vb2: Return 0 when streamon and streamoff are already on/off
According to the doc: If VIDIOC_STREAMON is called when streaming is already in progress, or if VIDIOC_STREAMOFF is called when streaming is already stopped, then the ioctl does nothing and 0 is returned. The current implementation was returning -EINVAL instead. Signed-off-by: Ricardo Ribalda Delgado <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions