Commit 7f56a4a7 authored by Prabhakar Lad's avatar Prabhakar Lad Committed by Mauro Carvalho Chehab

[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: default avatarLad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent eab34eab
...@@ -881,7 +881,7 @@ static int vidioc_s_frequency (struct file *file, void *priv, ...@@ -881,7 +881,7 @@ static int vidioc_s_frequency (struct file *file, void *priv,
return -EINVAL; return -EINVAL;
if (unlikely(f->tuner != 0)) if (unlikely(f->tuner != 0))
return -EINVAL; return -EINVAL;
streaming = dev->vb2_mpegq.start_streaming_called; streaming = vb2_start_streaming_called(&dev->vb2_mpegq);
if (streaming) if (streaming)
blackbird_stop_codec(dev); blackbird_stop_codec(dev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment