From: Laurent Pinchart Date: Thu, 17 Jul 2008 10:37:37 +0000 (-0300) Subject: V4L/DVB (8498): uvcvideo: Return sensible min and max values when querying a boolean... X-Git-Tag: v2.6.27-rc1~31^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54812c77bc830e2dbcb62b4c6d8a9c7f97cfdd1b;p=pandora-kernel.git 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 Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed