summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/uvc/uvc_ctrl.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@skynet.be>2009-01-03 23:12:40 +0100
committerLaurent Pinchart <laurent.pinchart@skynet.be>2009-01-03 23:12:40 +0100
commitdb03b1595b79b4239b5b67416249a9b5a97c05ed (patch)
treeeb2ff71d9a81e632b2b6d526ef7e037a7d44e6ef /linux/drivers/media/video/uvc/uvc_ctrl.c
parent081fc36b5da81564c839d81f79dbe2e75b05c2b7 (diff)
downloadmediapointer-dvb-s2-db03b1595b79b4239b5b67416249a9b5a97c05ed.tar.gz
mediapointer-dvb-s2-db03b1595b79b4239b5b67416249a9b5a97c05ed.tar.bz2
uvcvideo: Whitespace and comments cleanup, copyright updates.
From: Laurent Pinchart <laurent.pinchart@skynet.be> Priority: normal Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
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 e9a75b064..db1a3718c 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
@@ -31,7 +31,7 @@
#define UVC_CTRL_DATA_BACKUP 1
/* ------------------------------------------------------------------------
- * Control, formats, ...
+ * Controls
*/
static struct uvc_control_info uvc_ctrls[] = {
@@ -637,7 +637,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)));