diff options
author | Laurent Pinchart <laurent.pinchart@skynet.be> | 2009-01-03 17:12:40 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-01-29 05:35:36 -0500 |
commit | 2c2d264bb951c1a846b86431d3e784edfb79ab39 (patch) | |
tree | ab2a7c70b1638cd88c322e899d2c6b2f60157ba9 /drivers/media/video/uvc/uvc_ctrl.c | |
parent | bb1b082ed65292fc6fc7e01bbe0dd005d5a4140e (diff) |
V4L/DVB (10197): uvcvideo: Whitespace and comments cleanup, copyright updates.
Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/uvc/uvc_ctrl.c')
-rw-r--r-- | drivers/media/video/uvc/uvc_ctrl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/uvc/uvc_ctrl.c b/drivers/media/video/uvc/uvc_ctrl.c index c506068bec61..d2576f6391c0 100644 --- a/drivers/media/video/uvc/uvc_ctrl.c +++ b/drivers/media/video/uvc/uvc_ctrl.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * uvc_ctrl.c -- USB Video Class driver - Controls | 2 | * uvc_ctrl.c -- USB Video Class driver - Controls |
3 | * | 3 | * |
4 | * Copyright (C) 2005-2008 | 4 | * Copyright (C) 2005-2009 |
5 | * Laurent Pinchart (laurent.pinchart@skynet.be) | 5 | * Laurent Pinchart (laurent.pinchart@skynet.be) |
6 | * | 6 | * |
7 | * This program is free software; you can redistribute it and/or modify | 7 | * This program is free software; you can redistribute it and/or modify |
@@ -28,7 +28,7 @@ | |||
28 | #define UVC_CTRL_DATA_BACKUP 1 | 28 | #define UVC_CTRL_DATA_BACKUP 1 |
29 | 29 | ||
30 | /* ------------------------------------------------------------------------ | 30 | /* ------------------------------------------------------------------------ |
31 | * Control, formats, ... | 31 | * Controls |
32 | */ | 32 | */ |
33 | 33 | ||
34 | static struct uvc_control_info uvc_ctrls[] = { | 34 | static struct uvc_control_info uvc_ctrls[] = { |
@@ -634,7 +634,7 @@ static __s32 uvc_get_le_value(struct uvc_control_mapping *mapping, | |||
634 | mask = (1 << bits) - 1; | 634 | mask = (1 << bits) - 1; |
635 | } | 635 | } |
636 | 636 | ||
637 | /* Sign-extend the value if needed */ | 637 | /* Sign-extend the value if needed. */ |
638 | if (mapping->data_type == UVC_CTRL_DATA_TYPE_SIGNED) | 638 | if (mapping->data_type == UVC_CTRL_DATA_TYPE_SIGNED) |
639 | value |= -(value & (1 << (mapping->size - 1))); | 639 | value |= -(value & (1 << (mapping->size - 1))); |
640 | 640 | ||