summaryrefslogtreecommitdiff
path: root/drivers/media/pci
diff options
context:
space:
mode:
authorPrabhakar Lad <prabhakar.csengg@gmail.com>2014-11-10 13:55:54 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-11-14 18:18:41 -0200
commit7f56a4a710a19b6bce7a302485d000d3ab818592 (patch)
tree1bf982d12967f7ff6d484884e5abfbdc7d4e650b /drivers/media/pci
parenteab34eabe420cb9693b5195341d3e6fb090f8df6 (diff)
[media] media: cx88: use vb2_start_streaming_called() helper
this patch adds support for using vb2_start_streaming_called() for cx88-blackbird driver. Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/pci')
-rw-r--r--drivers/media/pci/cx88/cx88-blackbird.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/pci/cx88/cx88-blackbird.c b/drivers/media/pci/cx88/cx88-blackbird.c
index ff7978212e9d..4160ca4e5413 100644
--- a/drivers/media/pci/cx88/cx88-blackbird.c
+++ b/drivers/media/pci/cx88/cx88-blackbird.c
@@ -881,7 +881,7 @@ static int vidioc_s_frequency (struct file *file, void *priv,
return -EINVAL;
if (unlikely(f->tuner != 0))
return -EINVAL;
- streaming = dev->vb2_mpegq.start_streaming_called;
+ streaming = vb2_start_streaming_called(&dev->vb2_mpegq);
if (streaming)
blackbird_stop_codec(dev);