Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 377185
b: refs/heads/master
c: 8fdf94a
h: refs/heads/master
i:
  377183: 92c826d
v: v3
  • Loading branch information
Philipp Zabel authored and Mauro Carvalho Chehab committed Jun 3, 2013
1 parent 1a28149 commit aa9bbf1
Show file tree
Hide file tree
Showing 2 changed files with 10 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: 8b94ca61d7065fa7fa7bdb08ce31a9385be5205b
refs/heads/master: 8fdf94a254ab2f90ae79b82e56b1f8e9d7582026
9 changes: 9 additions & 0 deletions trunk/drivers/media/platform/coda.c
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,14 @@ static int vidioc_dqbuf(struct file *file, void *priv, struct v4l2_buffer *buf)
return v4l2_m2m_dqbuf(file, ctx->m2m_ctx, buf);
}

static int vidioc_create_bufs(struct file *file, void *priv,
struct v4l2_create_buffers *create)
{
struct coda_ctx *ctx = fh_to_ctx(priv);

return v4l2_m2m_create_bufs(file, ctx->m2m_ctx, create);
}

static int vidioc_streamon(struct file *file, void *priv,
enum v4l2_buf_type type)
{
Expand Down Expand Up @@ -605,6 +613,7 @@ static const struct v4l2_ioctl_ops coda_ioctl_ops = {

.vidioc_qbuf = vidioc_qbuf,
.vidioc_dqbuf = vidioc_dqbuf,
.vidioc_create_bufs = vidioc_create_bufs,

.vidioc_streamon = vidioc_streamon,
.vidioc_streamoff = vidioc_streamoff,
Expand Down

0 comments on commit aa9bbf1

Please sign in to comment.