summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca/zc3xx.c
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2010-01-08 12:04:21 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-02-26 19:10:31 +0100
commit77880ba3335e60acd0d6a818a7cdddaf0a5d601f (patch)
treee508675f3e6e5ddd8021cdd02e0d9dee2981ac99 /drivers/media/video/gspca/zc3xx.c
parentV4L/DVB (13921): gspca - zc3xx: Remove unuseful register write. (diff)
downloadlinux-77880ba3335e60acd0d6a818a7cdddaf0a5d601f.tar.xz
linux-77880ba3335e60acd0d6a818a7cdddaf0a5d601f.zip
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,
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;
}