From: Chanho Min Date: Fri, 27 Sep 2013 04:57:40 +0000 (-0300) Subject: [media] uvcvideo: Fix data type for pan/tilt control X-Git-Tag: v3.13-rc1~47^2~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ca5d2d8e58df7235b77ed435e63c484e123fede;p=pandora-kernel.git [media] uvcvideo: Fix data type for pan/tilt control The pan/tilt absolute control value is signed value. If minimum value is minus, It will be changed to plus by clamp_t() as commit 64ae9958a62. ([media] uvcvideo: Fix control value clamping for unsigned integer controls). It leads to wrong setting of the control values. For example, when min and max are -36000 and 36000, the setting value between of this range is always 36000. So, its data type should be changed to signed. Signed-off-by: Chanho Min Signed-off-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed