Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 65709
b: refs/heads/master
c: 943e891
h: refs/heads/master
i:
  65707: 1cc51b2
v: v3
  • Loading branch information
Ian Armstrong authored and Mauro Carvalho Chehab committed Oct 10, 2007
1 parent 34a6386 commit 9e74d6c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 68a341a53ab5a3c5b7dad4b226124414c62c124d
refs/heads/master: 943e8910db31e36d945f2bf7d4c273ca5fa01f6e
4 changes: 4 additions & 0 deletions trunk/drivers/media/video/ivtv/ivtv-yuv.c
Original file line number Diff line number Diff line change
Expand Up @@ -940,6 +940,7 @@ int ivtv_yuv_prep_frame(struct ivtv *itv, struct ivtv_dma_frame *args)
int rc = 0;
int got_sig = 0;
int frame, next_fill_frame, last_fill_frame;
int register_update = 0;

IVTV_DEBUG_INFO("yuv_prep_frame\n");

Expand All @@ -953,6 +954,7 @@ int ivtv_yuv_prep_frame(struct ivtv *itv, struct ivtv_dma_frame *args)
/* Buffers are full - Overwrite the last frame */
next_fill_frame = frame;
frame = (frame - 1) & 3;
register_update = itv->yuv_info.new_frame_info[frame].update;
}

/* Take a snapshot of the yuv coordinate information */
Expand Down Expand Up @@ -991,6 +993,8 @@ int ivtv_yuv_prep_frame(struct ivtv *itv, struct ivtv_dma_frame *args)
/* IVTV_DEBUG_YUV ("Requesting register update for frame %d\n",frame); */
}

itv->yuv_info.new_frame_info[frame].update |= register_update;

/* DMA the frame */
mutex_lock(&itv->udma.lock);

Expand Down

0 comments on commit 9e74d6c

Please sign in to comment.