提交 efd37692 编写于 作者: J Jean-François Moine 提交者: Mauro Carvalho Chehab

[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: NJean-François Moine <moinejf@free.fr>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 3ebd1794
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册