aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/zc3xx.c
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2010-01-08 06:04:21 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-02-26 13:10:31 -0500
commit77880ba3335e60acd0d6a818a7cdddaf0a5d601f (patch)
treee508675f3e6e5ddd8021cdd02e0d9dee2981ac99 /drivers/media/video/gspca/zc3xx.c
parenta20622f0f50be4afc217fba31b968f35fd5fea7b (diff)
V4L/DVB (13922): gspca - zc3xx: Switch off the LED on resume.
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca/zc3xx.c')
-rw-r--r--drivers/media/video/gspca/zc3xx.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/video/gspca/zc3xx.c b/drivers/media/video/gspca/zc3xx.c
index 65497553cb99..87deb72f89d0 100644
--- 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,
6768 break; 6768 break;
6769 } 6769 }
6770 6770
6771 /* switch the led off */
6772 reg_w(gspca_dev->dev, 0x01, 0x0000);
6773 return 0; 6771 return 0;
6774} 6772}
6775 6773
6776/* this function is called at probe and resume time */ 6774/* this function is called at probe and resume time */
6777static int sd_init(struct gspca_dev *gspca_dev) 6775static int sd_init(struct gspca_dev *gspca_dev)
6778{ 6776{
6777 /* switch off the led */
6779 reg_w(gspca_dev->dev, 0x01, 0x0000); 6778 reg_w(gspca_dev->dev, 0x01, 0x0000);
6780 return 0; 6779 return 0;
6781} 6780}