Commit 45f4d4e8 authored by Michael Grzeschik's avatar Michael Grzeschik Committed by Mauro Carvalho Chehab

V4L/DVB: mx2_camera: add informative camera clock frequency printout

Signed-off-by: default avatarMichael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: default avatarGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 7c6b7319
...@@ -1433,6 +1433,9 @@ static int __devinit mx2_camera_probe(struct platform_device *pdev) ...@@ -1433,6 +1433,9 @@ static int __devinit mx2_camera_probe(struct platform_device *pdev)
if (err) if (err)
goto exit_free_emma; 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; return 0;
exit_free_emma: exit_free_emma:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment