diff options
Diffstat (limited to 'drivers/media/video/gspca/ov519.c')
-rw-r--r-- | drivers/media/video/gspca/ov519.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/video/gspca/ov519.c b/drivers/media/video/gspca/ov519.c index 4df4eec9f7e7..ca671194679e 100644 --- a/drivers/media/video/gspca/ov519.c +++ b/drivers/media/video/gspca/ov519.c | |||
@@ -1854,7 +1854,7 @@ static int set_ov_sensor_window(struct sd *sd) | |||
1854 | } | 1854 | } |
1855 | 1855 | ||
1856 | /* -- start the camera -- */ | 1856 | /* -- start the camera -- */ |
1857 | static void sd_start(struct gspca_dev *gspca_dev) | 1857 | static int sd_start(struct gspca_dev *gspca_dev) |
1858 | { | 1858 | { |
1859 | struct sd *sd = (struct sd *) gspca_dev; | 1859 | struct sd *sd = (struct sd *) gspca_dev; |
1860 | int ret; | 1860 | int ret; |
@@ -1871,9 +1871,10 @@ static void sd_start(struct gspca_dev *gspca_dev) | |||
1871 | goto out; | 1871 | goto out; |
1872 | PDEBUG(D_STREAM, "camera started alt: 0x%02x", gspca_dev->alt); | 1872 | PDEBUG(D_STREAM, "camera started alt: 0x%02x", gspca_dev->alt); |
1873 | ov51x_led_control(sd, 1); | 1873 | ov51x_led_control(sd, 1); |
1874 | return; | 1874 | return 0; |
1875 | out: | 1875 | out: |
1876 | PDEBUG(D_ERR, "camera start error:%d", ret); | 1876 | PDEBUG(D_ERR, "camera start error:%d", ret); |
1877 | return ret; | ||
1877 | } | 1878 | } |
1878 | 1879 | ||
1879 | static void sd_stopN(struct gspca_dev *gspca_dev) | 1880 | static void sd_stopN(struct gspca_dev *gspca_dev) |