Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 219089
b: refs/heads/master
c: 11382f3
h: refs/heads/master
i:
  219087: dd5d0c5
v: v3
  • Loading branch information
Mats Randgaard authored and Mauro Carvalho Chehab committed Oct 21, 2010
1 parent 2f1e54e commit 88dd2f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1f8766b4e3f06c2206e7ff48da72d2886672759a
refs/heads/master: 11382f3d8a2d54d1db0aa6a768cd94214536c1b2
4 changes: 1 addition & 3 deletions trunk/drivers/media/video/davinci/vpif_capture.c
Original file line number Diff line number Diff line change
Expand Up @@ -731,16 +731,14 @@ static int vpif_mmap(struct file *filep, struct vm_area_struct *vma)
*/
static unsigned int vpif_poll(struct file *filep, poll_table * wait)
{
int err = 0;
struct vpif_fh *fh = filep->private_data;
struct channel_obj *channel = fh->channel;
struct common_obj *common = &(channel->common[VPIF_VIDEO_INDEX]);

vpif_dbg(2, debug, "vpif_poll\n");

if (common->started)
err = videobuf_poll_stream(filep, &common->buffer_queue, wait);

return videobuf_poll_stream(filep, &common->buffer_queue, wait);
return 0;
}

Expand Down

0 comments on commit 88dd2f2

Please sign in to comment.