projects
/
profile
/
ivi
/
kernel-adaptation-intel-automotive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bbe6b8
)
[media] gspca - cpia1: Fix error check
author
Nicolas Kaiser
<nikai@nikai.net>
Fri, 12 Nov 2010 07:32:35 +0000
(
04:32
-0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Wed, 29 Dec 2010 10:16:41 +0000
(08:16 -0200)
It looks to me like it was intended to check the return value
at this point.
Signed-off-by: Nicolas Kaiser <nikai@nikai.net>
Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/cpia1.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/gspca/cpia1.c
b/drivers/media/video/gspca/cpia1.c
index
80b8dae
..
c1ae05f
100644
(file)
--- a/
drivers/media/video/gspca/cpia1.c
+++ b/
drivers/media/video/gspca/cpia1.c
@@
-829,7
+829,7
@@
static int goto_low_power(struct gspca_dev *gspca_dev)
if (ret)
return ret;
- do_command(gspca_dev, CPIA_COMMAND_GetCameraStatus, 0, 0, 0, 0);
+
ret =
do_command(gspca_dev, CPIA_COMMAND_GetCameraStatus, 0, 0, 0, 0);
if (ret)
return ret;