summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/omap3isp/ispvideo.c
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@iki.fi>2012-02-25 21:13:41 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-05-14 08:52:38 -0300
commitc6c01f97b1733ba110993ec51600c06961e41bfe (patch)
treea1dac509e0d763c586998611a6e59e43a8395f35 /drivers/media/video/omap3isp/ispvideo.c
parentccddd916dcde141a6fb5612da622a8ae060c12b8 (diff)
downloadblackbird-op-linux-c6c01f97b1733ba110993ec51600c06961e41bfe.tar.gz
blackbird-op-linux-c6c01f97b1733ba110993ec51600c06961e41bfe.zip
[media] omap3isp: Use external rate instead of vpcfg
Access pipe->external_rate instead of isp_ccdc.vpcfg.pixelclk. Also remove means to set the value for isp_ccdc_vpcfg.pixelclk. Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/omap3isp/ispvideo.c')
-rw-r--r--drivers/media/video/omap3isp/ispvideo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/omap3isp/ispvideo.c b/drivers/media/video/omap3isp/ispvideo.c
index ffad91e93b6e..66bc6749de66 100644
--- a/drivers/media/video/omap3isp/ispvideo.c
+++ b/drivers/media/video/omap3isp/ispvideo.c
@@ -352,7 +352,7 @@ static int isp_video_validate_pipeline(struct isp_pipeline *pipe)
unsigned int rate = UINT_MAX;
omap3isp_ccdc_max_rate(&isp->isp_ccdc, &rate);
- if (isp->isp_ccdc.vpcfg.pixelclk > rate)
+ if (pipe->external_rate > rate)
return -ENOSPC;
}
OpenPOWER on IntegriCloud