Explorar el Código

V4L/DVB (10681): gspca - zc3xx: Bad probe of the ov7630c sensor.

This patch fixes an other bug of the kernel bug report 12737.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Jean-Francois Moine hace 16 años
padre
commit
e2d750fcef
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      drivers/media/video/gspca/zc3xx.c

+ 4 - 0
drivers/media/video/gspca/zc3xx.c

@@ -7141,6 +7141,10 @@ static int sd_config(struct gspca_dev *gspca_dev,
 			PDEBUG(D_PROBE, "Find Sensor OV7620");
 			sd->sensor = SENSOR_OV7620;
 			break;
+		case 0x7631:
+			PDEBUG(D_PROBE, "Find Sensor OV7630C");
+			sd->sensor = SENSOR_OV7630C;
+			break;
 		case 0x7648:
 			PDEBUG(D_PROBE, "Find Sensor OV7648");
 			sd->sensor = SENSOR_OV7620;	/* same sensor (?) */