V4L/DVB: mx2_camera: add informative camera clock frequency printout
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>
This commit is contained in:
Родитель
7c6b731970
Коммит
45f4d4e879
|
@ -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:
|
||||
|
|
Загрузка…
Ссылка в новой задаче