aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/ov519.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/gspca/ov519.c')
-rw-r--r--drivers/media/video/gspca/ov519.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/ov519.c b/drivers/media/video/gspca/ov519.c
index 19f943e45ca2..7e86faf12f5b 100644
--- a/drivers/media/video/gspca/ov519.c
+++ b/drivers/media/video/gspca/ov519.c
@@ -3940,7 +3940,7 @@ static void sd_stop0(struct gspca_dev *gspca_dev)
3940 if (sd->bridge == BRIDGE_W9968CF) 3940 if (sd->bridge == BRIDGE_W9968CF)
3941 w9968cf_stop0(sd); 3941 w9968cf_stop0(sd);
3942 3942
3943#ifdef CONFIG_INPUT 3943#if defined(CONFIG_INPUT) || defined(CONFIG_INPUT_MODULE)
3944 /* If the last button state is pressed, release it now! */ 3944 /* If the last button state is pressed, release it now! */
3945 if (sd->snapshot_pressed) { 3945 if (sd->snapshot_pressed) {
3946 input_report_key(gspca_dev->input_dev, KEY_CAMERA, 0); 3946 input_report_key(gspca_dev->input_dev, KEY_CAMERA, 0);