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/spca500.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/spca500.c')
-rw-r--r-- | drivers/media/video/gspca/spca500.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/spca500.c b/drivers/media/video/gspca/spca500.c index 6e733901fcca..bca106c153fa 100644 --- a/drivers/media/video/gspca/spca500.c +++ b/drivers/media/video/gspca/spca500.c | |||
@@ -660,7 +660,7 @@ static int sd_init(struct gspca_dev *gspca_dev) | |||
660 | return 0; | 660 | return 0; |
661 | } | 661 | } |
662 | 662 | ||
663 | static void sd_start(struct gspca_dev *gspca_dev) | 663 | static int sd_start(struct gspca_dev *gspca_dev) |
664 | { | 664 | { |
665 | struct sd *sd = (struct sd *) gspca_dev; | 665 | struct sd *sd = (struct sd *) gspca_dev; |
666 | int err; | 666 | int err; |
@@ -867,6 +867,7 @@ static void sd_start(struct gspca_dev *gspca_dev) | |||
867 | write_vector(gspca_dev, Clicksmart510_defaults); | 867 | write_vector(gspca_dev, Clicksmart510_defaults); |
868 | break; | 868 | break; |
869 | } | 869 | } |
870 | return 0; | ||
870 | } | 871 | } |
871 | 872 | ||
872 | static void sd_stopN(struct gspca_dev *gspca_dev) | 873 | static void sd_stopN(struct gspca_dev *gspca_dev) |