Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 306087
b: refs/heads/master
c: 0bf0f71
h: refs/heads/master
i:
  306085: dbf07c5
  306083: 66a237c
  306079: 99e5b42
v: v3
  • Loading branch information
Hans Verkuil authored and Mauro Carvalho Chehab committed Mar 27, 2012
1 parent 152f2a5 commit 0f462a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 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: 95213ceb1b527b8102c589bd41fcb7c9163fdd79
refs/heads/master: 0bf0f713d6e6b9f1c510d598c29ac17812a4eea5
9 changes: 1 addition & 8 deletions trunk/drivers/media/video/vivi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1039,17 +1039,10 @@ static unsigned int
vivi_poll(struct file *file, struct poll_table_struct *wait)
{
struct vivi_dev *dev = video_drvdata(file);
struct v4l2_fh *fh = file->private_data;
struct vb2_queue *q = &dev->vb_vidq;
unsigned int res;

dprintk(dev, 1, "%s\n", __func__);
res = vb2_poll(q, file, wait);
if (v4l2_event_pending(fh))
res |= POLLPRI;
else
poll_wait(file, &fh->wait, wait);
return res;
return vb2_poll(q, file, wait);
}

static int vivi_close(struct file *file)
Expand Down

0 comments on commit 0f462a9

Please sign in to comment.