Skip to content

Commit

Permalink
[media] gspca - sq930x: Some detected sensors are not handled yet
Browse files Browse the repository at this point in the history
These are OmniVision's OV7660 and OV9630.
Don't register the webcam when they are found.

Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Jean-François Moine authored and Mauro Carvalho Chehab committed Dec 29, 2010
1 parent 3ebd179 commit efd3769
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions drivers/media/video/gspca/sq930x.c
Original file line number Diff line number Diff line change
Expand Up @@ -693,6 +693,13 @@ static void cmos_probe(struct gspca_dev *gspca_dev)
return;
}
sd->sensor = probe_order[i];
switch (sd->sensor) {
case SENSOR_OV7660:
case SENSOR_OV9630:
err("Sensor %s not yet treated", sensor_tb[sd->sensor].name);
gspca_dev->usb_err = -EINVAL;
break;
}
}

static void mt9v111_init(struct gspca_dev *gspca_dev)
Expand Down

0 comments on commit efd3769

Please sign in to comment.