summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/zoran_card.c
diff options
context:
space:
mode:
authorLaurent Pinchart2008-07-17 12:37:37 +0200
committerMauro Carvalho Chehab2008-07-26 18:18:25 +0200
commit54812c77bc830e2dbcb62b4c6d8a9c7f97cfdd1b (patch)
treefc9fa9a0d6ed8b1af83f5d3f4f5a4a6e44653163 /drivers/media/video/zoran_card.c
parentV4L/DVB (8497): uvcvideo: Make the auto-exposure menu control V4L2 compliant (diff)
downloadkernel-qcow2-linux-54812c77bc830e2dbcb62b4c6d8a9c7f97cfdd1b.tar.gz
kernel-qcow2-linux-54812c77bc830e2dbcb62b4c6d8a9c7f97cfdd1b.tar.xz
kernel-qcow2-linux-54812c77bc830e2dbcb62b4c6d8a9c7f97cfdd1b.zip
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 'drivers/media/video/zoran_card.c')
0 files changed, 0 insertions, 0 deletions