aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/mx2_camera.c
diff options
context:
space:
mode:
authorMichael Grzeschik <m.grzeschik@pengutronix.de>2010-08-27 08:39:05 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-10-20 23:06:18 -0400
commit45f4d4e8799ff1d7ef72747203935f1f2533743d (patch)
treed54f6b94879e9a03f1aece35462df4575b98c29b /drivers/media/video/mx2_camera.c
parent7c6b73197062180d51e9871982b083a651838992 (diff)
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 d7b3229fe3e4..e330a76b004a 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)
1433 if (err) 1433 if (err)
1434 goto exit_free_emma; 1434 goto exit_free_emma;
1435 1435
1436 dev_info(&pdev->dev, "MX2 Camera (CSI) driver probed, clock frequency: %ld\n",
1437 clk_get_rate(pcdev->clk_csi));
1438
1436 return 0; 1439 return 0;
1437 1440
1438exit_free_emma: 1441exit_free_emma: