diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-06-20 04:19:09 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-06-20 04:19:09 -0400 |
commit | 37c1d2e4098e48d9107858246027510efcfd7774 (patch) | |
tree | fd676992f6b27f2576420bbc7b25028d05125940 /drivers/media/platform/coda.c | |
parent | 414abbd2cd4c2618895f02ed3a76ec6647281436 (diff) | |
parent | aad760136537fdfa10e5ac76bd3c79bde2100863 (diff) |
Merge branch 'linus' into patchwork
* linus: (1465 commits)
ARM: tegra30: clocks: Fix pciex clock registration
lseek(fd, n, SEEK_END) does *not* go to eof - n
Linux 3.10-rc6
smp.h: Use local_irq_{save,restore}() in !SMP version of on_each_cpu().
powerpc: Fix missing/delayed calls to irq_work
powerpc: Fix emulation of illegal instructions on PowerNV platform
powerpc: Fix stack overflow crash in resume_kernel when ftracing
snd_pcm_link(): fix a leak...
use can_lookup() instead of direct checks of ->i_op->lookup
move exit_task_namespaces() outside of exit_notify()
fput: task_work_add() can fail if the caller has passed exit_task_work()
xfs: don't shutdown log recovery on validation errors
xfs: ensure btree root split sets blkno correctly
xfs: fix implicit padding in directory and attr CRC formats
xfs: don't emit v5 superblock warnings on write
mei: me: clear interrupts on the resume path
mei: nfc: fix nfc device freeing
mei: init: Flush scheduled work before resetting the device
sctp: fully initialize sctp_outq in sctp_outq_init
netiucv: Hold rtnl between name allocation and device registration.
...
Diffstat (limited to 'drivers/media/platform/coda.c')
-rw-r--r-- | drivers/media/platform/coda.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/media/platform/coda.c b/drivers/media/platform/coda.c index c4566c447774..df4ada880e42 100644 --- a/drivers/media/platform/coda.c +++ b/drivers/media/platform/coda.c | |||
@@ -617,6 +617,14 @@ static int vidioc_dqbuf(struct file *file, void *priv, struct v4l2_buffer *buf) | |||
617 | return v4l2_m2m_dqbuf(file, ctx->m2m_ctx, buf); | 617 | return v4l2_m2m_dqbuf(file, ctx->m2m_ctx, buf); |
618 | } | 618 | } |
619 | 619 | ||
620 | static int vidioc_create_bufs(struct file *file, void *priv, | ||
621 | struct v4l2_create_buffers *create) | ||
622 | { | ||
623 | struct coda_ctx *ctx = fh_to_ctx(priv); | ||
624 | |||
625 | return v4l2_m2m_create_bufs(file, ctx->m2m_ctx, create); | ||
626 | } | ||
627 | |||
620 | static int vidioc_streamon(struct file *file, void *priv, | 628 | static int vidioc_streamon(struct file *file, void *priv, |
621 | enum v4l2_buf_type type) | 629 | enum v4l2_buf_type type) |
622 | { | 630 | { |
@@ -652,6 +660,7 @@ static const struct v4l2_ioctl_ops coda_ioctl_ops = { | |||
652 | .vidioc_qbuf = vidioc_qbuf, | 660 | .vidioc_qbuf = vidioc_qbuf, |
653 | .vidioc_expbuf = vidioc_expbuf, | 661 | .vidioc_expbuf = vidioc_expbuf, |
654 | .vidioc_dqbuf = vidioc_dqbuf, | 662 | .vidioc_dqbuf = vidioc_dqbuf, |
663 | .vidioc_create_bufs = vidioc_create_bufs, | ||
655 | 664 | ||
656 | .vidioc_streamon = vidioc_streamon, | 665 | .vidioc_streamon = vidioc_streamon, |
657 | .vidioc_streamoff = vidioc_streamoff, | 666 | .vidioc_streamoff = vidioc_streamoff, |