Commit 012880be authored by Marton Nemeth's avatar Marton Nemeth Committed by Mauro Carvalho Chehab

V4L/DVB (13389): gspca - pac7302: Handle return values in sd_start().

Signed-off-by: default avatarMarton Nemeth <nm127@freemail.hu>
Signed-off-by: default avatarJean-Francois Moine <moinejf@free.fr>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 23fbee6f
......@@ -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 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment