[media] media: cx88: use vb2_start_streaming_called() helper
authorPrabhakar Lad <[email protected]>
Mon, 10 Nov 2014 16:55:54 +0000 (13:55 -0300)
committerMauro Carvalho Chehab <[email protected]>
Fri, 14 Nov 2014 20:18:41 +0000 (18:18 -0200)
this patch adds support for using vb2_start_streaming_called()
for cx88-blackbird driver.

Signed-off-by: Lad, Prabhakar <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
drivers/media/pci/cx88/cx88-blackbird.c

index ff7978212e9d99fa91b6ce9f91f206fd0288cf77..4160ca4e541344f9b4f8f49f2eeab24dc57db4f0 100644 (file)
@@ -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);