[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>
This commit is contained in:
parent
eab34eabe4
commit
7f56a4a710
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue