提交 012880be 编写于 作者: M Marton Nemeth 提交者: Mauro Carvalho Chehab

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

Signed-off-by: NMarton Nemeth <nm127@freemail.hu>
Signed-off-by: NJean-Francois Moine <moinejf@free.fr>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册