diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2012-09-26 08:15:24 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-11-28 10:31:14 -0200 |
commit | 64ae9958a623708336ed67fe38c33571390aed1e (patch) | |
tree | 5627e3ef1ab2e1dbe6093f60b9705cbe119d41ef /lib/mpi | |
parent | 8be8ec6ea58bd77338f6ffa2f6d2acfc88b835f4 (diff) |
[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 <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'lib/mpi')
0 files changed, 0 insertions, 0 deletions