aboutsummaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorLaurent Pinchart <[email protected]>2010-01-21 16:53:11 -0300
committerMauro Carvalho Chehab <[email protected]>2010-02-26 15:11:04 -0300
commit8a4e76c14cbe0609fdb5c558f867fe7c556bb1c7 (patch)
tree7ecaed2d419ac528b39b4702ca493dd71afbfd30 /scripts/objdiff
parent36bd883ef98ac6003ab6ec7b91f66d3fb2159318 (diff)
V4L/DVB: uvcvideo: Return -ERANGE when setting a control to an out-of-range menu index
The V4L2 specification states that out of bounds control values must either be clamped to the valid range or result in a -ERANGE error code. Fix the driver to return -ERANGE instead of -EINVAL when setting a menu control to an invalid value. Signed-off-by: Laurent Pinchart <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions