aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@skynet.be>2008-10-13 19:32:03 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2008-10-22 14:13:22 -0700
commit372bd6a0bb40ecf8c3ba96fc25f556e23c0847a1 (patch)
treed7ff73982586fcafd71f6dc13fce09fc187ceb52 /net/lapb/lapb_in.c
parente1a85fcf7f338097b807ccf6a34bc2a9fa5c739c (diff)
V4L/DVB (8498): uvcvideo: Return sensible min and max values when querying a boolean control.
commit 54812c77bc830e2dbcb62b4c6d8a9c7f97cfdd1b upstream [required to get the following two patches to apply] 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> Cc: Chuck Ebbert <cebbert@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions