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>
This commit is contained in:
Jean-Francois Moine 2010-01-08 08:04:21 -03:00 committed by Mauro Carvalho Chehab
parent a20622f0f5
commit 77880ba333

View 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;
}