From: Antonio Ospite <ospite@studenti.unina.it>
Date: Sat, 3 Aug 2013 13:14:34 +0000 (+0200)
Subject: am7xxx: add quirks for Philips/Sagemcom PicoPix 2055
X-Git-Tag: v0.1.5~18
X-Git-Url: https://git.ao2.it/libam7xxx.git/commitdiff_plain/03231a2b8d29e8cef1628cb25335f9583f067496?ds=inline;hp=-c

am7xxx: add quirks for Philips/Sagemcom PicoPix 2055

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
---

03231a2b8d29e8cef1628cb25335f9583f067496
diff --git a/src/am7xxx.c b/src/am7xxx.c
index 5b1e35a..b66a4ee 100644
--- a/src/am7xxx.c
+++ b/src/am7xxx.c
@@ -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",