diff options
author | Laurent Pinchart <[email protected]> | 2012-08-28 18:38:58 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2012-11-28 10:24:48 -0200 |
commit | f0ed2ce840b3a59b587e8aa398538141a86e9588 (patch) | |
tree | 8a17d0bd6229e8a29d01a43d24d3fdfecb03d49a /tools/perf/util/trace-event-scripting.c | |
parent | e9de051666a42dc7866267f85869170bcc6b957a (diff) |
[media] uvcvideo: Set error_idx properly for extended controls API failures
When one of the requested controls doesn't exist the error_idx field
must reflect that situation. For G_EXT_CTRLS and S_EXT_CTRLS, error_idx
must be set to the control count. For TRY_EXT_CTRLS, it must be set to
the index of the unexisting control.
This issue was found by the v4l2-compliance tool.
Signed-off-by: Laurent Pinchart <[email protected]>
Acked-by: Hans Verkuil <[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