diff options
Diffstat (limited to 'drivers/media/pci/bt8xx/bttv-driver.c')
-rw-r--r-- | drivers/media/pci/bt8xx/bttv-driver.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/pci/bt8xx/bttv-driver.c b/drivers/media/pci/bt8xx/bttv-driver.c index 45e5d0661b60..ccd18e4ee789 100644 --- a/drivers/media/pci/bt8xx/bttv-driver.c +++ b/drivers/media/pci/bt8xx/bttv-driver.c | |||
@@ -3835,7 +3835,7 @@ bttv_irq_wakeup_video(struct bttv *btv, struct bttv_buffer_set *wakeup, | |||
3835 | { | 3835 | { |
3836 | struct timeval ts; | 3836 | struct timeval ts; |
3837 | 3837 | ||
3838 | do_gettimeofday(&ts); | 3838 | v4l2_get_timestamp(&ts); |
3839 | 3839 | ||
3840 | if (wakeup->top == wakeup->bottom) { | 3840 | if (wakeup->top == wakeup->bottom) { |
3841 | if (NULL != wakeup->top && curr->top != wakeup->top) { | 3841 | if (NULL != wakeup->top && curr->top != wakeup->top) { |
@@ -3878,7 +3878,7 @@ bttv_irq_wakeup_vbi(struct bttv *btv, struct bttv_buffer *wakeup, | |||
3878 | if (NULL == wakeup) | 3878 | if (NULL == wakeup) |
3879 | return; | 3879 | return; |
3880 | 3880 | ||
3881 | do_gettimeofday(&ts); | 3881 | v4l2_get_timestamp(&ts); |
3882 | wakeup->vb.ts = ts; | 3882 | wakeup->vb.ts = ts; |
3883 | wakeup->vb.field_count = btv->field_count; | 3883 | wakeup->vb.field_count = btv->field_count; |
3884 | wakeup->vb.state = state; | 3884 | wakeup->vb.state = state; |
@@ -3949,7 +3949,7 @@ bttv_irq_wakeup_top(struct bttv *btv) | |||
3949 | btv->curr.top = NULL; | 3949 | btv->curr.top = NULL; |
3950 | bttv_risc_hook(btv, RISC_SLOT_O_FIELD, NULL, 0); | 3950 | bttv_risc_hook(btv, RISC_SLOT_O_FIELD, NULL, 0); |
3951 | 3951 | ||
3952 | do_gettimeofday(&wakeup->vb.ts); | 3952 | v4l2_get_timestamp(&wakeup->vb.ts); |
3953 | wakeup->vb.field_count = btv->field_count; | 3953 | wakeup->vb.field_count = btv->field_count; |
3954 | wakeup->vb.state = VIDEOBUF_DONE; | 3954 | wakeup->vb.state = VIDEOBUF_DONE; |
3955 | wake_up(&wakeup->vb.done); | 3955 | wake_up(&wakeup->vb.done); |