summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/uvc/uvc_ctrl.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-01-08 09:54:14 -0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-01-08 09:54:14 -0200
commit0308500e0996c0a8fbd9f873935427539254d0d0 (patch)
treed3acca97d69aaafdbc22274af654b88b963069ca /linux/drivers/media/video/uvc/uvc_ctrl.c
parentf59fb7d89034335c51eea8a1bf816ccafbf896c0 (diff)
parent8f78573e85e8cf9f8acfbf76eeb04cc336bfa5c9 (diff)
downloadmediapointer-dvb-s2-0308500e0996c0a8fbd9f873935427539254d0d0.tar.gz
mediapointer-dvb-s2-0308500e0996c0a8fbd9f873935427539254d0d0.tar.bz2
merge: http://linuxtv.org/hg/~pinchartl/uvcvideo
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/video/uvc/uvc_ctrl.c')
-rw-r--r--linux/drivers/media/video/uvc/uvc_ctrl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/drivers/media/video/uvc/uvc_ctrl.c b/linux/drivers/media/video/uvc/uvc_ctrl.c
index 3dfa69c7b..f3f36f625 100644
--- a/linux/drivers/media/video/uvc/uvc_ctrl.c
+++ b/linux/drivers/media/video/uvc/uvc_ctrl.c
@@ -1,7 +1,7 @@
/*
* uvc_ctrl.c -- USB Video Class driver - Controls
*
- * Copyright (C) 2005-2008
+ * Copyright (C) 2005-2009
* Laurent Pinchart (laurent.pinchart@skynet.be)
*
* This program is free software; you can redistribute it and/or modify
@@ -30,7 +30,7 @@
#define UVC_CTRL_DATA_BACKUP 1
/* ------------------------------------------------------------------------
- * Control, formats, ...
+ * Controls
*/
static struct uvc_control_info uvc_ctrls[] = {
@@ -636,7 +636,7 @@ static __s32 uvc_get_le_value(struct uvc_control_mapping *mapping,
mask = (1 << bits) - 1;
}
- /* Sign-extend the value if needed */
+ /* Sign-extend the value if needed. */
if (mapping->data_type == UVC_CTRL_DATA_TYPE_SIGNED)
value |= -(value & (1 << (mapping->size - 1)));