diff options
Diffstat (limited to 'drivers/media/usb/pwc/pwc-if.c')
-rw-r--r-- | drivers/media/usb/pwc/pwc-if.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/usb/pwc/pwc-if.c b/drivers/media/usb/pwc/pwc-if.c index e90e4946afaf..086cf1c7bd7d 100644 --- a/drivers/media/usb/pwc/pwc-if.c +++ b/drivers/media/usb/pwc/pwc-if.c | |||
@@ -316,8 +316,7 @@ static void pwc_isoc_handler(struct urb *urb) | |||
316 | struct pwc_frame_buf *fbuf = pdev->fill_buf; | 316 | struct pwc_frame_buf *fbuf = pdev->fill_buf; |
317 | 317 | ||
318 | if (pdev->vsync == 1) { | 318 | if (pdev->vsync == 1) { |
319 | v4l2_get_timestamp( | 319 | fbuf->vb.vb2_buf.timestamp = ktime_get_ns(); |
320 | &fbuf->vb.timestamp); | ||
321 | pdev->vsync = 2; | 320 | pdev->vsync = 2; |
322 | } | 321 | } |
323 | 322 | ||