projects
/
platform
/
kernel
/
linux-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
560fab6
)
[media] media: video: mx2_camera.c: Provide error message if clk_get fails
author
Fabio Estevam
<festevam@gmail.com>
Wed, 15 Feb 2012 13:33:20 +0000
(10:33 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Thu, 8 Mar 2012 13:04:39 +0000
(10:04 -0300)
Provide error message if clk_get fails.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/mx2_camera.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/mx2_camera.c
b/drivers/media/video/mx2_camera.c
index
0667512
..
0ebda71
100644
(file)
--- a/
drivers/media/video/mx2_camera.c
+++ b/
drivers/media/video/mx2_camera.c
@@
-1424,6
+1424,7
@@
static int __devinit mx2_camera_probe(struct platform_device *pdev)
pcdev->clk_csi = clk_get(&pdev->dev, NULL);
if (IS_ERR(pcdev->clk_csi)) {
+ dev_err(&pdev->dev, "Could not get csi clock\n");
err = PTR_ERR(pcdev->clk_csi);
goto exit_kfree;
}