this patch adds support for using vb2_start_streaming_called()
for cx88-blackbird driver.

Signed-off-by: Lad, Prabhakar <prabhakar.cse...@gmail.com>
---
 drivers/media/pci/cx88/cx88-blackbird.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/media/pci/cx88/cx88-blackbird.c 
b/drivers/media/pci/cx88/cx88-blackbird.c
index ff79782..4160ca4 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);
 
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to