Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 92632
b: refs/heads/master
c: ca21d2d
h: refs/heads/master
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Apr 24, 2008
1 parent 50986d9 commit e7722cc
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 47625da2ab5e98728cdefbd344fb1493c26769ad
refs/heads/master: ca21d2dc945c224c3f121f6b5f2436877f029eed
6 changes: 3 additions & 3 deletions trunk/drivers/media/video/em28xx/em28xx-video.c
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,7 @@ static void em28xx_uninit_isoc(struct em28xx *dev)

dev->isoc_ctl.num_bufs=0;

del_timer(&dev->vidq.timeout);
em28xx_capture_start(dev, 0);
}

Expand Down Expand Up @@ -575,9 +576,8 @@ static void em28xx_vid_timeout(unsigned long data)
unsigned long flags;

spin_lock_irqsave(&dev->slock,flags);
while (!list_empty(&vidq->active)) {
buf = list_entry(vidq->active.next, struct em28xx_buffer,
vb.queue);

list_for_each_entry(buf, vidq->active.next, vb.queue) {
list_del(&buf->vb.queue);
buf->vb.state = VIDEOBUF_ERROR;
wake_up(&buf->vb.done);
Expand Down

0 comments on commit e7722cc

Please sign in to comment.