projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a84f79a
)
V4L/DVB (12267): gspca - sonixj: Bad sensor init of non ov76xx sensors.
author
Jean-Francois Moine
<moinejf@free.fr>
Wed, 8 Jul 2009 08:21:50 +0000
(
05:21
-0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Fri, 24 Jul 2009 17:03:29 +0000
(14:03 -0300)
The bug was introduced when adding the light frequency control
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/sonixj.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/gspca/sonixj.c
b/drivers/media/video/gspca/sonixj.c
index
0d02f41
..
bad309b
100644
(file)
--- a/
drivers/media/video/gspca/sonixj.c
+++ b/
drivers/media/video/gspca/sonixj.c
@@
-1634,6
+1634,8
@@
static void setfreq(struct gspca_dev *gspca_dev)
{
struct sd *sd = (struct sd *) gspca_dev;
+ if (gspca_dev->ctrl_dis & (1 << FREQ_IDX))
+ return;
if (sd->sensor == SENSOR_OV7660) {
switch (sd->freq) {
case 0: /* Banding filter disabled */