[PATCH 15/23] omap3isp: Do not attempt to walk the pipeline outside the ISP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Do not attempt to walk the pipeline outside of the ISP. The external subdevs
will handle this internally.

Signed-off-by: Sakari Ailus <sakari.ailus@xxxxxx>
---
 drivers/media/video/omap3isp/isp.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/drivers/media/video/omap3isp/isp.c b/drivers/media/video/omap3isp/isp.c
index d268d55..3338176 100644
--- a/drivers/media/video/omap3isp/isp.c
+++ b/drivers/media/video/omap3isp/isp.c
@@ -767,7 +767,8 @@ static int isp_pipeline_enable(struct isp_pipeline *pipe,
 
 		/*
 		 * Configure CCDC pixel clock. host_priv != NULL so
-		 * this one is a sensor.
+		 * this one is a sensor. We may also quit now since we
+		 * wouldn't encounter more ISP subdevs anymore.
 		 */
 		if (subdev->host_priv) {
 			struct v4l2_ext_controls ctrls;
@@ -791,6 +792,7 @@ static int isp_pipeline_enable(struct isp_pipeline *pipe,
 			}
 
 			isp_set_pixel_clock(isp, ctrl.value64);
+			break;
 		}
 
 		if (subdev == &isp->isp_ccdc.subdev) {
-- 
1.7.2.5

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


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux