Skip to content

Commit

Permalink
V4L/DVB (13922): gspca - zc3xx: Switch off the LED on resume.
Browse files Browse the repository at this point in the history
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Jean-Francois Moine authored and Mauro Carvalho Chehab committed Feb 26, 2010
1 parent a20622f commit 77880ba
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/media/video/gspca/zc3xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 77880ba

Please sign in to comment.