aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2009-02-02 05:43:50 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 11:42:48 -0400
commit5899c75f0252552f3683e9bba2f2680ea69f76b3 (patch)
treefad0208a043f2e623dd4003061e3fb09b84a6d90
parentac829d62eeb5440899f0f034a9f756c2296105a5 (diff)
V4L/DVB (10617): gspca - vc032x: Remove the vc0321 reset.
Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/video/gspca/vc032x.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/media/video/gspca/vc032x.c b/drivers/media/video/gspca/vc032x.c
index f8d535ce908..9f3d9f104e6 100644
--- a/drivers/media/video/gspca/vc032x.c
+++ b/drivers/media/video/gspca/vc032x.c
@@ -2072,14 +2072,6 @@ static void usb_exchange(struct gspca_dev *gspca_dev,
2072 /*not reached*/ 2072 /*not reached*/
2073} 2073}
2074 2074
2075static void vc0321_reset(struct gspca_dev *gspca_dev)
2076{
2077 reg_w(gspca_dev->dev, 0xa0, 0x00, 0xb04d);
2078 reg_w(gspca_dev->dev, 0xa0, 0x01, 0xb301);
2079 msleep(100);
2080 reg_w(gspca_dev->dev, 0xa0, 0x01, 0xb003);
2081 msleep(100);
2082}
2083 2075
2084/* this function is called at probe time */ 2076/* this function is called at probe time */
2085static int sd_config(struct gspca_dev *gspca_dev, 2077static int sd_config(struct gspca_dev *gspca_dev,
@@ -2092,8 +2084,6 @@ static int sd_config(struct gspca_dev *gspca_dev,
2092 2084
2093 cam = &gspca_dev->cam; 2085 cam = &gspca_dev->cam;
2094 sd->bridge = id->driver_info; 2086 sd->bridge = id->driver_info;
2095
2096 vc0321_reset(gspca_dev);
2097 sensor = vc032x_probe_sensor(gspca_dev); 2087 sensor = vc032x_probe_sensor(gspca_dev);
2098 switch (sensor) { 2088 switch (sensor) {
2099 case -1: 2089 case -1: