From 45f4d4e8799ff1d7ef72747203935f1f2533743d Mon Sep 17 00:00:00 2001 From: Michael Grzeschik Date: Fri, 27 Aug 2010 09:39:05 -0300 Subject: [PATCH] V4L/DVB: mx2_camera: add informative camera clock frequency printout Signed-off-by: Michael Grzeschik Signed-off-by: Guennadi Liakhovetski Signed-off-by: Mauro Carvalho Chehab --- drivers/media/video/mx2_camera.c | 3 +++ 1 file changed, 3 insertions(+) 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) 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: -- GitLab