aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@skynet.be>2008-07-17 07:37:37 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-26 13:18:25 -0300
commit54812c77bc830e2dbcb62b4c6d8a9c7f97cfdd1b (patch)
treefc9fa9a0d6ed8b1af83f5d3f4f5a4a6e44653163 /security
parent90ac5ea37f91e38d798c5e355232ce7f9c2a24d4 (diff)
V4L/DVB (8498): uvcvideo: Return sensible min and max values when querying a boolean control.
Although the V4L2 spec states that the minimum and maximum fields may not be valid for control types other than V4L2_CTRL_TYPE_INTEGER, it makes sense to set the bounds to 0 and 1 for boolean controls instead of returning uninitialized values. Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions