Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 343786
b: refs/heads/master
c: 0666c6b
h: refs/heads/master
v: v3
  • Loading branch information
Wei Yongjun authored and Mauro Carvalho Chehab committed Oct 25, 2012
1 parent 0794d43 commit dcb21e7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: 8d6b12501a7ebc59c309b32457192bba93334e0b
refs/heads/master: 0666c6b8d60eea25eb2dfa6b4773262ea91cf4a3
6 changes: 2 additions & 4 deletions trunk/drivers/media/platform/fsl-viu.c
Original file line number Diff line number Diff line change
Expand Up @@ -352,8 +352,7 @@ static int restart_video_queue(struct viu_dmaqueue *vidq)
return 0;
buf = list_entry(vidq->queued.next, struct viu_buf, vb.queue);
if (prev == NULL) {
list_del(&buf->vb.queue);
list_add_tail(&buf->vb.queue, &vidq->active);
list_move_tail(&buf->vb.queue, &vidq->active);

dprintk(1, "Restarting video dma\n");
viu_stop_dma(vidq->dev);
Expand All @@ -367,8 +366,7 @@ static int restart_video_queue(struct viu_dmaqueue *vidq)
} else if (prev->vb.width == buf->vb.width &&
prev->vb.height == buf->vb.height &&
prev->fmt == buf->fmt) {
list_del(&buf->vb.queue);
list_add_tail(&buf->vb.queue, &vidq->active);
list_move_tail(&buf->vb.queue, &vidq->active);
buf->vb.state = VIDEOBUF_ACTIVE;
dprintk(2, "[%p/%d] restart_queue - move to active\n",
buf, buf->vb.i);
Expand Down

0 comments on commit dcb21e7

Please sign in to comment.