summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/pwc/pwc-if.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-01-27 14:09:24 -0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-27 14:09:24 -0200
commit07c40dde6fd84df8218fed6351fe81f77458406e (patch)
tree2d8046452992b6b68b5c6d067ee6ca4a690b39b7 /linux/drivers/media/video/pwc/pwc-if.c
parent0b14b001f4b716b7d53a1413de30bbdb70764651 (diff)
parent56ab5d5a038d60cd901d04a60c56f4a9e0631c00 (diff)
downloadmediapointer-dvb-s2-07c40dde6fd84df8218fed6351fe81f77458406e.tar.gz
mediapointer-dvb-s2-07c40dde6fd84df8218fed6351fe81f77458406e.tar.bz2
merge: http://linuxtv.org/hg/~dougsland/v4l
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/pwc/pwc-if.c')
-rw-r--r--linux/drivers/media/video/pwc/pwc-if.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/linux/drivers/media/video/pwc/pwc-if.c b/linux/drivers/media/video/pwc/pwc-if.c
index 1f5a8a18c..b09443b09 100644
--- a/linux/drivers/media/video/pwc/pwc-if.c
+++ b/linux/drivers/media/video/pwc/pwc-if.c
@@ -130,8 +130,8 @@ static int default_fbufs = 3; /* Default number of frame buffers */
#ifdef CONFIG_USB_PWC_DEBUG
int pwc_trace = PWC_DEBUG_LEVEL;
#endif
-static int power_save = 0;
-static int led_on = 100, led_off = 0; /* defaults to LED that is on while in use */
+static int power_save;
+static int led_on = 100, led_off; /* defaults to LED that is on while in use */
static int pwc_preferred_compression = 1; /* 0..3 = uncompressed..high */
static struct {
int type;
@@ -790,8 +790,8 @@ static void pwc_isoc_handler(struct urb *urb)
} /* ..status == 0 */
else {
/* This is normally not interesting to the user, unless
- * you are really debugging something */
- static int iso_error = 0;
+ * you are really debugging something, default = 0 */
+ static int iso_error;
iso_error++;
if (iso_error < 20)
PWC_DEBUG_FLOW("Iso frame %d of USB has error %d\n", i, fst);