projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0b33bd
)
[media] gspca - ov519: Handle the snapshot on capture stop when CONFIG_INPUT=m
author
Jean-François Moine
<moinejf@free.fr>
Thu, 11 Nov 2010 09:17:01 +0000
(06:17 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Wed, 29 Dec 2010 10:16:40 +0000
(08:16 -0200)
Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/ov519.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/gspca/ov519.c
b/drivers/media/video/gspca/ov519.c
index 19f943e45ca24b61ab7958f7408359b75a4e2ba8..7e86faf12f5b5fb54e250d4906a9c780f2a93395 100644
(file)
--- 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)
if (sd->bridge == BRIDGE_W9968CF)
w9968cf_stop0(sd);
-#if
def CONFIG_INPUT
+#if
defined(CONFIG_INPUT) || defined(CONFIG_INPUT_MODULE)
/* If the last button state is pressed, release it now! */
if (sd->snapshot_pressed) {
input_report_key(gspca_dev->input_dev, KEY_CAMERA, 0);