diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2009-02-02 11:43:50 +0100 |
---|---|---|
committer | Jean-Francois Moine <moinejf@free.fr> | 2009-02-02 11:43:50 +0100 |
commit | 4b7ea770410dae8b9ca79623e4e36e94dfa86fd4 (patch) | |
tree | a89290f3bb4c9dcf8bb3348d34723bd13286b613 /linux/drivers/media/video/gspca | |
parent | 6bb5aad0cf3ec4e211f6b3a3a09ece3488019548 (diff) | |
download | mediapointer-dvb-s2-4b7ea770410dae8b9ca79623e4e36e94dfa86fd4.tar.gz mediapointer-dvb-s2-4b7ea770410dae8b9ca79623e4e36e94dfa86fd4.tar.bz2 |
gspca - vc032x: Remove the vc0321 reset.
From: Jean-Francois Moine <moinejf@free.fr>
Priority: normal
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Diffstat (limited to 'linux/drivers/media/video/gspca')
-rw-r--r-- | linux/drivers/media/video/gspca/vc032x.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/linux/drivers/media/video/gspca/vc032x.c b/linux/drivers/media/video/gspca/vc032x.c index 1832d241f..72cbf56c9 100644 --- a/linux/drivers/media/video/gspca/vc032x.c +++ b/linux/drivers/media/video/gspca/vc032x.c @@ -2098,6 +2098,7 @@ static void usb_exchange(struct gspca_dev *gspca_dev, /*not reached*/ } +#if 0 static void vc0321_reset(struct gspca_dev *gspca_dev) { reg_w(gspca_dev->dev, 0xa0, 0x00, 0xb04d); @@ -2106,6 +2107,7 @@ static void vc0321_reset(struct gspca_dev *gspca_dev) reg_w(gspca_dev->dev, 0xa0, 0x01, 0xb003); msleep(100); } +#endif /* this function is called at probe time */ static int sd_config(struct gspca_dev *gspca_dev, @@ -2118,8 +2120,9 @@ static int sd_config(struct gspca_dev *gspca_dev, cam = &gspca_dev->cam; sd->bridge = id->driver_info; - +#if 0 vc0321_reset(gspca_dev); +#endif sensor = vc032x_probe_sensor(gspca_dev); switch (sensor) { case -1: |