Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

V4L/DVB (12267): gspca - sonixj: Bad sensor init of non ov76xx sensors.

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>

authored by

Jean-Francois Moine and committed by
Mauro Carvalho Chehab
27954930 a84f79ae

+2
+2
drivers/media/video/gspca/sonixj.c
··· 1634 1634 { 1635 1635 struct sd *sd = (struct sd *) gspca_dev; 1636 1636 1637 + if (gspca_dev->ctrl_dis & (1 << FREQ_IDX)) 1638 + return; 1637 1639 if (sd->sensor == SENSOR_OV7660) { 1638 1640 switch (sd->freq) { 1639 1641 case 0: /* Banding filter disabled */