aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMarton Nemeth <nm127@freemail.hu>2009-11-08 02:41:28 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-12-05 15:41:39 -0500
commit012880be6e1c8503e2901f8de90cc1e711334989 (patch)
treeaabf76f36b468c2edf5c5899ffd486897edf549e /drivers
parent23fbee6f88d59b4edca0855242d55e5b7cfc2401 (diff)
V4L/DVB (13389): gspca - pac7302: Handle return values in sd_start().
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/gspca/pac7302.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/gspca/pac7302.c b/drivers/media/video/gspca/pac7302.c
index f8bf6a63f042..5cd02571bbf9 100644
--- 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)
746 if (0 <= ret) 746 if (0 <= ret)
747 ret = setbluebalance(gspca_dev); 747 ret = setbluebalance(gspca_dev);
748 if (0 <= ret) 748 if (0 <= ret)
749 setgain(gspca_dev); 749 ret = setgain(gspca_dev);
750 if (0 <= ret) 750 if (0 <= ret)
751 setexposure(gspca_dev); 751 ret = setexposure(gspca_dev);
752 if (0 <= ret) 752 if (0 <= ret)
753 sethvflip(gspca_dev); 753 ret = sethvflip(gspca_dev);
754 754
755 /* only resolution 640x480 is supported for pac7302 */ 755 /* only resolution 640x480 is supported for pac7302 */
756 756