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>
This commit is contained in:
Marton Nemeth 2009-11-08 04:41:28 -03:00 committed by Mauro Carvalho Chehab
parent 23fbee6f88
commit 012880be6e

View File

@ -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 */