diff options
author | Jean-François Moine <moinejf@free.fr> | 2010-12-25 13:11:54 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-12-29 08:17:05 -0200 |
commit | efd3769269f2ef9a0ad452ea8298b3edcb2f5a62 (patch) | |
tree | 8ee905ce811e36a5e54464996847cf946effc159 /drivers/media/video | |
parent | 3ebd17946448df50b9082412d09955c87a112721 (diff) | |
download | linux-efd3769269f2ef9a0ad452ea8298b3edcb2f5a62.tar.gz linux-efd3769269f2ef9a0ad452ea8298b3edcb2f5a62.tar.bz2 linux-efd3769269f2ef9a0ad452ea8298b3edcb2f5a62.zip |
[media] gspca - sq930x: Some detected sensors are not handled yet
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>
Diffstat (limited to 'drivers/media/video')
-rw-r--r-- | drivers/media/video/gspca/sq930x.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/media/video/gspca/sq930x.c b/drivers/media/video/gspca/sq930x.c index 74628eda7d96..b1d771bc3f2c 100644 --- a/drivers/media/video/gspca/sq930x.c +++ b/drivers/media/video/gspca/sq930x.c @@ -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) |