projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac829d6
)
V4L/DVB (10617): gspca - vc032x: Remove the vc0321 reset.
author
Jean-Francois Moine
<moinejf@free.fr>
Mon, 2 Feb 2009 10:43:50 +0000
(07:43 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Mon, 30 Mar 2009 15:42:48 +0000
(12:42 -0300)
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/vc032x.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/gspca/vc032x.c
b/drivers/media/video/gspca/vc032x.c
index f8d535ce90814d658c5cdb3d1d75182607c6b348..9f3d9f104e6eb99161e314dc11815b61fe63f505 100644
(file)
--- 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,
/*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 */
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;
sd->bridge = id->driver_info;
-
- vc0321_reset(gspca_dev);
sensor = vc032x_probe_sensor(gspca_dev);
switch (sensor) {
case -1: