提交 9be1d6cd 编写于 作者: N Nicolas Kaiser 提交者: Mauro Carvalho Chehab

[media] gspca - cpia1: Fix error check

It looks to me like it was intended to check the return value
at this point.
Signed-off-by: NNicolas Kaiser <nikai@nikai.net>
Signed-off-by: NJean-François Moine <moinejf@free.fr>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 7bbe6b8d
......@@ -829,7 +829,7 @@ static int goto_low_power(struct gspca_dev *gspca_dev)
if (ret)
return ret;
do_command(gspca_dev, CPIA_COMMAND_GetCameraStatus, 0, 0, 0, 0);
ret = do_command(gspca_dev, CPIA_COMMAND_GetCameraStatus, 0, 0, 0, 0);
if (ret)
return ret;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册