Skip to content

Commit

Permalink
V4L/DVB (13389): gspca - pac7302: Handle return values in sd_start().
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Marton Nemeth authored and Mauro Carvalho Chehab committed Dec 5, 2009
1 parent 23fbee6 commit 012880b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/media/video/gspca/pac7302.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

Expand Down

0 comments on commit 012880b

Please sign in to comment.