aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen/sur40.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/touchscreen/sur40.c')
-rw-r--r--drivers/input/touchscreen/sur40.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/sur40.c b/drivers/input/touchscreen/sur40.c
index 3f3e2b12e5e7..b6c4d03de340 100644
--- a/drivers/input/touchscreen/sur40.c
+++ b/drivers/input/touchscreen/sur40.c
@@ -444,7 +444,7 @@ static void sur40_process_video(struct sur40_state *sur40)
444 goto err_poll; 444 goto err_poll;
445 445
446 /* mark as finished */ 446 /* mark as finished */
447 v4l2_get_timestamp(&new_buf->vb.timestamp); 447 new_buf->vb.vb2_buf.timestamp = ktime_get_ns();
448 new_buf->vb.sequence = sur40->sequence++; 448 new_buf->vb.sequence = sur40->sequence++;
449 new_buf->vb.field = V4L2_FIELD_NONE; 449 new_buf->vb.field = V4L2_FIELD_NONE;
450 vb2_buffer_done(&new_buf->vb.vb2_buf, VB2_BUF_STATE_DONE); 450 vb2_buffer_done(&new_buf->vb.vb2_buf, VB2_BUF_STATE_DONE);