提交 45f4d4e8 编写于 作者: M Michael Grzeschik 提交者: Mauro Carvalho Chehab

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

Signed-off-by: NMichael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: NGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册