diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2008-09-20 11:39:08 +0200 |
---|---|---|
committer | Jean-Francois Moine <moinejf@free.fr> | 2008-09-20 11:39:08 +0200 |
commit | 4da45e91dbbd552ebcee4d48b856c66e6ca9f839 (patch) | |
tree | d5b39a96ecb9349c265e4d82e753d9817115de5a /linux/drivers/media/video/gspca/spca506.c | |
parent | 7b960fac24dbec9cd02cba8d72415391e2d44556 (diff) | |
download | mediapointer-dvb-s2-4da45e91dbbd552ebcee4d48b856c66e6ca9f839.tar.gz mediapointer-dvb-s2-4da45e91dbbd552ebcee4d48b856c66e6ca9f839.tar.bz2 |
gspca: Return error code from stream start functions.
From: Jean-Francois Moine <moinejf@free.fr>
Priority: normal
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Diffstat (limited to 'linux/drivers/media/video/gspca/spca506.c')
-rw-r--r-- | linux/drivers/media/video/gspca/spca506.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/drivers/media/video/gspca/spca506.c b/linux/drivers/media/video/gspca/spca506.c index 195dce96e..645ee9d44 100644 --- a/linux/drivers/media/video/gspca/spca506.c +++ b/linux/drivers/media/video/gspca/spca506.c @@ -422,7 +422,7 @@ static int sd_init(struct gspca_dev *gspca_dev) return 0; } -static void sd_start(struct gspca_dev *gspca_dev) +static int sd_start(struct gspca_dev *gspca_dev) { struct usb_device *dev = gspca_dev->dev; __u16 norme; @@ -549,6 +549,7 @@ static void sd_start(struct gspca_dev *gspca_dev) PDEBUG(D_STREAM, "webcam started"); spca506_GetNormeInput(gspca_dev, &norme, &channel); spca506_SetNormeInput(gspca_dev, norme, channel); + return 0; } static void sd_stopN(struct gspca_dev *gspca_dev) |