This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/media_tree.git tree:

Subject: [media] bfin_capture: drop unnecessary vb2_is_streaming check
Author:  Hans Verkuil <[email protected]>
Date:    Thu Apr 17 02:52:16 2014 -0300

The stop_streaming op is only called if streaming is in progress,
so drop the unnecessary 'if (!vb2_is_streaming(vq))' check.

Signed-off-by: Hans Verkuil <[email protected]>
Acked-by: Pawel Osciak <[email protected]>
Acked-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 drivers/media/platform/blackfin/bfin_capture.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

---

http://git.linuxtv.org/media_tree.git?a=commitdiff;h=348a634de2407aab8cc9c14a98d8c74aea075bb3

diff --git a/drivers/media/platform/blackfin/bfin_capture.c 
b/drivers/media/platform/blackfin/bfin_capture.c
index dfb09d4..16f643c 100644
--- a/drivers/media/platform/blackfin/bfin_capture.c
+++ b/drivers/media/platform/blackfin/bfin_capture.c
@@ -433,9 +433,6 @@ static void bcap_stop_streaming(struct vb2_queue *vq)
        struct ppi_if *ppi = bcap_dev->ppi;
        int ret;
 
-       if (!vb2_is_streaming(vq))
-               return 0;
-
        bcap_dev->stop = true;
        wait_for_completion(&bcap_dev->comp);
        ppi->ops->stop(ppi);

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to