am7xxx: add quirks for Philips/Sagemcom PicoPix 2055
authorAntonio Ospite <ospite@studenti.unina.it>
Sat, 3 Aug 2013 13:14:34 +0000 (15:14 +0200)
committerAntonio Ospite <ospite@studenti.unina.it>
Sat, 3 Aug 2013 13:14:34 +0000 (15:14 +0200)
The Philips/Sagemcom PicoPix 2055 does not support some operations:
  - setting the power mode confuses the firmware
  - setting the zoom mode has no effect whatsoever

Disable these operations.

Thanks-to: Luca Bompani

src/am7xxx.c

index 5b1e35a..b66a4ee 100644 (file)
@@ -111,6 +111,7 @@ static const struct am7xxx_usb_device_descriptor supported_devices[] = {
                .product_id = 0x0016,
                .configuration    = 2,
                .interface_number = 0,
+               .quirks = AM7XXX_QUIRK_NO_POWER_MODE | AM7XXX_QUIRK_NO_ZOOM_MODE,
        },
        {
                .name       = "Philips/Sagemcom PicoPix 2330",