|
@@ -2861,7 +2861,6 @@ static void ov7xx0_configure(struct sd *sd)
|
|
|
case 0x60:
|
|
|
PDEBUG(D_PROBE, "Sensor is a OV7660");
|
|
|
sd->sensor = SEN_OV7660;
|
|
|
- sd->invert_led = 0;
|
|
|
break;
|
|
|
default:
|
|
|
PDEBUG(D_PROBE, "Unknown sensor: 0x76%x", low);
|
|
@@ -3338,7 +3337,6 @@ static int sd_config(struct gspca_dev *gspca_dev,
|
|
|
case BRIDGE_OV519:
|
|
|
cam->cam_mode = ov519_vga_mode;
|
|
|
cam->nmodes = ARRAY_SIZE(ov519_vga_mode);
|
|
|
- sd->invert_led = !sd->invert_led;
|
|
|
break;
|
|
|
case BRIDGE_OVFX2:
|
|
|
cam->cam_mode = ov519_vga_mode;
|
|
@@ -5006,24 +5004,24 @@ static const struct sd_desc sd_desc = {
|
|
|
/* -- module initialisation -- */
|
|
|
static const struct usb_device_id device_table[] = {
|
|
|
{USB_DEVICE(0x041e, 0x4003), .driver_info = BRIDGE_W9968CF },
|
|
|
- {USB_DEVICE(0x041e, 0x4052), .driver_info = BRIDGE_OV519 },
|
|
|
- {USB_DEVICE(0x041e, 0x405f),
|
|
|
+ {USB_DEVICE(0x041e, 0x4052),
|
|
|
.driver_info = BRIDGE_OV519 | BRIDGE_INVERT_LED },
|
|
|
+ {USB_DEVICE(0x041e, 0x405f), .driver_info = BRIDGE_OV519 },
|
|
|
{USB_DEVICE(0x041e, 0x4060), .driver_info = BRIDGE_OV519 },
|
|
|
{USB_DEVICE(0x041e, 0x4061), .driver_info = BRIDGE_OV519 },
|
|
|
- {USB_DEVICE(0x041e, 0x4064),
|
|
|
- .driver_info = BRIDGE_OV519 | BRIDGE_INVERT_LED },
|
|
|
+ {USB_DEVICE(0x041e, 0x4064), .driver_info = BRIDGE_OV519 },
|
|
|
{USB_DEVICE(0x041e, 0x4067), .driver_info = BRIDGE_OV519 },
|
|
|
- {USB_DEVICE(0x041e, 0x4068),
|
|
|
+ {USB_DEVICE(0x041e, 0x4068), .driver_info = BRIDGE_OV519 },
|
|
|
+ {USB_DEVICE(0x045e, 0x028c),
|
|
|
.driver_info = BRIDGE_OV519 | BRIDGE_INVERT_LED },
|
|
|
- {USB_DEVICE(0x045e, 0x028c), .driver_info = BRIDGE_OV519 },
|
|
|
{USB_DEVICE(0x054c, 0x0154), .driver_info = BRIDGE_OV519 },
|
|
|
- {USB_DEVICE(0x054c, 0x0155),
|
|
|
- .driver_info = BRIDGE_OV519 | BRIDGE_INVERT_LED },
|
|
|
+ {USB_DEVICE(0x054c, 0x0155), .driver_info = BRIDGE_OV519 },
|
|
|
{USB_DEVICE(0x05a9, 0x0511), .driver_info = BRIDGE_OV511 },
|
|
|
{USB_DEVICE(0x05a9, 0x0518), .driver_info = BRIDGE_OV518 },
|
|
|
- {USB_DEVICE(0x05a9, 0x0519), .driver_info = BRIDGE_OV519 },
|
|
|
- {USB_DEVICE(0x05a9, 0x0530), .driver_info = BRIDGE_OV519 },
|
|
|
+ {USB_DEVICE(0x05a9, 0x0519),
|
|
|
+ .driver_info = BRIDGE_OV519 | BRIDGE_INVERT_LED },
|
|
|
+ {USB_DEVICE(0x05a9, 0x0530),
|
|
|
+ .driver_info = BRIDGE_OV519 | BRIDGE_INVERT_LED },
|
|
|
{USB_DEVICE(0x05a9, 0x2800), .driver_info = BRIDGE_OVFX2 },
|
|
|
{USB_DEVICE(0x05a9, 0x4519), .driver_info = BRIDGE_OV519 },
|
|
|
{USB_DEVICE(0x05a9, 0x8519), .driver_info = BRIDGE_OV519 },
|