From: Laurent Pinchart Date: Wed, 26 Sep 2012 11:15:24 +0000 (-0300) Subject: [media] uvcvideo: Fix control value clamping for unsigned integer controls X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~21^2^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64ae9958a623708336ed67fe38c33571390aed1e;p=pandora-kernel.git [media] uvcvideo: Fix control value clamping for unsigned integer controls V4L2 integer controls are stored in signed 32-bit values. However, UVC controls can be either signed or unsigned. Take the UVC control signedness into account when clamping the control value to the min-max range. Signed-off-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed