From: Michael Grzeschik Date: Fri, 27 Aug 2010 12:39:05 +0000 (-0300) Subject: V4L/DVB: mx2_camera: add informative camera clock frequency printout X-Git-Tag: MMI-PSA29.97-13-9~21911^2~331 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=45f4d4e8799ff1d7ef72747203935f1f2533743d;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 --- 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: