aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2010-01-08 08:04:21 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-02-26 15:10:31 -0300
commit77880ba3335e60acd0d6a818a7cdddaf0a5d601f (patch)
treee508675f3e6e5ddd8021cdd02e0d9dee2981ac99 /drivers/media/video
parenta20622f0f50be4afc217fba31b968f35fd5fea7b (diff)
downloadkernel_samsung_aries-77880ba3335e60acd0d6a818a7cdddaf0a5d601f.zip
kernel_samsung_aries-77880ba3335e60acd0d6a818a7cdddaf0a5d601f.tar.gz
kernel_samsung_aries-77880ba3335e60acd0d6a818a7cdddaf0a5d601f.tar.bz2
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')
-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 65497553..87deb72 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;
}