diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2015-07-27 17:06:48 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-09-25 23:23:26 +0300 |
commit | 5d0fd3c806b9e932010931ae67dbb482020e0882 (patch) | |
tree | 09b2b6dee3c58a9be8842451ba3417a6296fb396 /drivers/media/usb/uvc/uvc_video.c | |
parent | 60f68735441ce01858c81d32071f7df41c1691e3 (diff) | |
download | linux-5d0fd3c806b9e932010931ae67dbb482020e0882.tar.xz |
[media] uvcvideo: Disable hardware timestamps by default
The hardware timestamping implementation has been reported as not
working correctly on at least the Logitech C920. Until this can be
fixed, disable it by default.
Reported-by: Peter Rabbitson <rabbit@rabbit.us>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/usb/uvc/uvc_video.c')
-rw-r--r-- | drivers/media/usb/uvc/uvc_video.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/usb/uvc/uvc_video.c b/drivers/media/usb/uvc/uvc_video.c index f839654ea436..1c4a11766fd1 100644 --- a/drivers/media/usb/uvc/uvc_video.c +++ b/drivers/media/usb/uvc/uvc_video.c @@ -623,6 +623,9 @@ void uvc_video_clock_update(struct uvc_streaming *stream, u32 rem; u64 y; + if (!uvc_hw_timestamps_param) + return; + spin_lock_irqsave(&clock->lock, flags); if (clock->count < clock->size) |