mirror of
https://github.com/torvalds/linux.git
synced 2024-12-14 07:02:23 +00:00
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:
parent
23fbee6f88
commit
012880be6e
@ -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 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user