projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23fbee6
)
V4L/DVB (13389): gspca - pac7302: Handle return values in sd_start().
author
Marton Nemeth
<nm127@freemail.hu>
Sun, 8 Nov 2009 07:41:28 +0000
(
04:41
-0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Sat, 5 Dec 2009 20:41:39 +0000
(18:41 -0200)
Signed-off-by: Marton Nemeth <nm127@freemail.hu>
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/pac7302.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/gspca/pac7302.c
b/drivers/media/video/gspca/pac7302.c
index f8bf6a63f0428125120729ae648954876cb81b75..5cd02571bbf9e30051594e7ce976470e847efc0b 100644
(file)
--- a/
drivers/media/video/gspca/pac7302.c
+++ b/
drivers/media/video/gspca/pac7302.c
@@
-746,11
+746,11
@@
static int sd_start(struct gspca_dev *gspca_dev)
if (0 <= ret)
ret = setbluebalance(gspca_dev);
if (0 <= ret)
- setgain(gspca_dev);
+
ret =
setgain(gspca_dev);
if (0 <= ret)
- setexposure(gspca_dev);
+
ret =
setexposure(gspca_dev);
if (0 <= ret)
- sethvflip(gspca_dev);
+
ret =
sethvflip(gspca_dev);
/* only resolution 640x480 is supported for pac7302 */