V4L/DVB (13922): gspca - zc3xx: Switch off the LED on resume.
authorJean-Francois Moine <moinejf@free.fr>
Fri, 8 Jan 2010 11:04:21 +0000 (08:04 -0300)
committerMauro 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

index 6549755..87deb72 100644 (file)
@@ -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;
 }