V4L/DVB: mx2_camera: add informative camera clock frequency printout
authorMichael Grzeschik <m.grzeschik@pengutronix.de>
Fri, 27 Aug 2010 12:39:05 +0000 (09:39 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Oct 2010 03:06:18 +0000 (01:06 -0200)
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>
drivers/media/video/mx2_camera.c

index d7b3229fe3e403cadd51cbad0979c74f7f1ffcdb..e330a76b004aabeb526430a5be305dfbb1101984 100644 (file)
@@ -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: