Commit 5899c75f authored by Jean-Francois Moine's avatar Jean-Francois Moine Committed by Mauro Carvalho Chehab

V4L/DVB (10617): gspca - vc032x: Remove the vc0321 reset.

Signed-off-by: default avatarJean-Francois Moine <moinejf@free.fr>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent ac829d62
...@@ -2072,14 +2072,6 @@ static void usb_exchange(struct gspca_dev *gspca_dev, ...@@ -2072,14 +2072,6 @@ static void usb_exchange(struct gspca_dev *gspca_dev,
/*not reached*/ /*not reached*/
} }
static void vc0321_reset(struct gspca_dev *gspca_dev)
{
reg_w(gspca_dev->dev, 0xa0, 0x00, 0xb04d);
reg_w(gspca_dev->dev, 0xa0, 0x01, 0xb301);
msleep(100);
reg_w(gspca_dev->dev, 0xa0, 0x01, 0xb003);
msleep(100);
}
/* this function is called at probe time */ /* this function is called at probe time */
static int sd_config(struct gspca_dev *gspca_dev, static int sd_config(struct gspca_dev *gspca_dev,
...@@ -2092,8 +2084,6 @@ static int sd_config(struct gspca_dev *gspca_dev, ...@@ -2092,8 +2084,6 @@ static int sd_config(struct gspca_dev *gspca_dev,
cam = &gspca_dev->cam; cam = &gspca_dev->cam;
sd->bridge = id->driver_info; sd->bridge = id->driver_info;
vc0321_reset(gspca_dev);
sensor = vc032x_probe_sensor(gspca_dev); sensor = vc032x_probe_sensor(gspca_dev);
switch (sensor) { switch (sensor) {
case -1: case -1:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment