projects
/
profile
/
common
/
kernel-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a20622f
)
V4L/DVB (13922): gspca - zc3xx: Switch off the LED on resume.
author
Jean-Francois Moine
<moinejf@free.fr>
Fri, 8 Jan 2010 11:04:21 +0000
(08:04 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Fri, 26 Feb 2010 18:10:31 +0000
(15:10 -0300)
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/zc3xx.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/gspca/zc3xx.c
b/drivers/media/video/gspca/zc3xx.c
index
6549755
..
87deb72
100644
(file)
--- a/
drivers/media/video/gspca/zc3xx.c
+++ b/
drivers/media/video/gspca/zc3xx.c
@@
-6768,14
+6768,13
@@
static int sd_config(struct gspca_dev *gspca_dev,
break;
}
- /* switch the led off */
- reg_w(gspca_dev->dev, 0x01, 0x0000);
return 0;
}
/* this function is called at probe and resume time */
static int sd_init(struct gspca_dev *gspca_dev)
{
+ /* switch off the led */
reg_w(gspca_dev->dev, 0x01, 0x0000);
return 0;
}