Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 226319
b: refs/heads/master
c: c335333
h: refs/heads/master
i:
  226317: 87ab601
  226315: 8338a60
  226311: eeff209
  226303: ef7f6b3
v: v3
  • Loading branch information
Anatolij Gustschin authored and Mauro Carvalho Chehab committed Dec 29, 2010
1 parent e3c3da3 commit d918d30
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 2a72b39e516bf772e707d5a080d5d07b1c8ac0c0
refs/heads/master: c3353330508aee4390442df2d7f6ce0ef5006185
5 changes: 5 additions & 0 deletions trunk/drivers/media/video/fsl-viu.c
Original file line number Diff line number Diff line change
Expand Up @@ -915,6 +915,8 @@ static int vidioc_streamon(struct file *file, void *priv, enum v4l2_buf_type i)
if (fh->type != i)
return -EINVAL;

viu_start_dma(fh->dev);

return videobuf_streamon(&fh->vb_vidq);
}

Expand All @@ -927,6 +929,8 @@ static int vidioc_streamoff(struct file *file, void *priv, enum v4l2_buf_type i)
if (fh->type != i)
return -EINVAL;

viu_stop_dma(fh->dev);

return videobuf_streamoff(&fh->vb_vidq);
}

Expand Down Expand Up @@ -1331,6 +1335,7 @@ static int viu_release(struct file *file)

viu_stop_dma(dev);
videobuf_stop(&fh->vb_vidq);
videobuf_mmap_free(&fh->vb_vidq);

kfree(fh);

Expand Down

0 comments on commit d918d30

Please sign in to comment.