summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/mx2_camera.c
diff options
context:
space:
mode:
authorMichael Grzeschik <m.grzeschik@pengutronix.de>2010-08-27 09:39:05 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-10-21 01:06:18 -0200
commit45f4d4e8799ff1d7ef72747203935f1f2533743d (patch)
treed54f6b94879e9a03f1aece35462df4575b98c29b /drivers/media/video/mx2_camera.c
parent7c6b73197062180d51e9871982b083a651838992 (diff)
downloadop-kernel-dev-45f4d4e8799ff1d7ef72747203935f1f2533743d.zip
op-kernel-dev-45f4d4e8799ff1d7ef72747203935f1f2533743d.tar.gz
V4L/DVB: mx2_camera: add informative camera clock frequency printout
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/mx2_camera.c')
-rw-r--r--drivers/media/video/mx2_camera.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/video/mx2_camera.c b/drivers/media/video/mx2_camera.c
index d7b3229..e330a76 100644
--- a/drivers/media/video/mx2_camera.c
+++ b/drivers/media/video/mx2_camera.c
@@ -1433,6 +1433,9 @@ static int __devinit mx2_camera_probe(struct platform_device *pdev)
if (err)
goto exit_free_emma;
+ dev_info(&pdev->dev, "MX2 Camera (CSI) driver probed, clock frequency: %ld\n",
+ clk_get_rate(pcdev->clk_csi));
+
return 0;
exit_free_emma:
OpenPOWER on IntegriCloud