diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2008-09-20 05:39:08 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-10-12 07:37:12 -0400 |
commit | 72ab97cecb7225a4c9f74cdd80268b50b74697bb (patch) | |
tree | 3c942aa1c1538ad83c5f49fbc6ab01ea1a584789 /drivers/media/video/gspca/spca508.c | |
parent | 1b60e1adc713e8d375dc117f5c3b5032d5b79abe (diff) |
V4L/DVB (9079): gspca: Return error code from stream start functions.
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca/spca508.c')
-rw-r--r-- | drivers/media/video/gspca/spca508.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/spca508.c b/drivers/media/video/gspca/spca508.c index 281ce02103a3..63ec902c895d 100644 --- a/drivers/media/video/gspca/spca508.c +++ b/drivers/media/video/gspca/spca508.c | |||
@@ -1528,7 +1528,7 @@ static int sd_init(struct gspca_dev *gspca_dev) | |||
1528 | return 0; | 1528 | return 0; |
1529 | } | 1529 | } |
1530 | 1530 | ||
1531 | static void sd_start(struct gspca_dev *gspca_dev) | 1531 | static int sd_start(struct gspca_dev *gspca_dev) |
1532 | { | 1532 | { |
1533 | int mode; | 1533 | int mode; |
1534 | 1534 | ||
@@ -1546,6 +1546,7 @@ static void sd_start(struct gspca_dev *gspca_dev) | |||
1546 | break; | 1546 | break; |
1547 | } | 1547 | } |
1548 | reg_write(gspca_dev->dev, 0x8112, 0x10 | 0x20); | 1548 | reg_write(gspca_dev->dev, 0x8112, 0x10 | 0x20); |
1549 | return 0; | ||
1549 | } | 1550 | } |
1550 | 1551 | ||
1551 | static void sd_stopN(struct gspca_dev *gspca_dev) | 1552 | static void sd_stopN(struct gspca_dev *gspca_dev) |