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:
parent
a20622f0f5
commit
77880ba333
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue