diff options
author | Nicolas Kaiser <nikai@nikai.net> | 2010-11-12 07:32:35 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-12-29 10:16:41 (GMT) |
commit | 9be1d6cde936dcf9a325eeee01ed64005c98d456 (patch) | |
tree | 58bc0a5aa7b675d45fa9c62d9d33b0db31cb38ca /drivers/media/video/gspca | |
parent | 7bbe6b8d1f63c2f7482c93d8cd986b1774e6436d (diff) | |
download | linux-fsl-qoriq-9be1d6cde936dcf9a325eeee01ed64005c98d456.tar.xz |
[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: Nicolas Kaiser <nikai@nikai.net>
Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca')
-rw-r--r-- | drivers/media/video/gspca/cpia1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/cpia1.c b/drivers/media/video/gspca/cpia1.c index 80b8dae..c1ae05f 100644 --- a/drivers/media/video/gspca/cpia1.c +++ b/drivers/media/video/gspca/cpia1.c @@ -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; |