[media] af9035: new IDs: add support for PCTV 78e and PCTV 79e
authorMalcolm Priestley <tvboxspy@gmail.com>
Tue, 5 Aug 2014 09:19:16 +0000 (06:19 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 4 Sep 2014 15:24:19 +0000 (12:24 -0300)
add the following IDs
USB_PID_PCTV_78E (0x025a) for PCTV 78e
USB_PID_PCTV_79E (0x0262) for PCTV 79e

For these it9135 devices.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Cc: Antti Palosaari <crope@iki.fi>
Cc: <stable@vger.kernel.org> # v3.14+
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/dvb-core/dvb-usb-ids.h
drivers/media/usb/dvb-usb-v2/af9035.c

index 5135a096bfa689c1f326f8c42125385c16e61936..12ce19c98ded144bc37da6d7498edb5381b0d5ee 100644 (file)
 #define USB_PID_PCTV_400E                              0x020f
 #define USB_PID_PCTV_450E                              0x0222
 #define USB_PID_PCTV_452E                              0x021f
+#define USB_PID_PCTV_78E                               0x025a
+#define USB_PID_PCTV_79E                               0x0262
 #define USB_PID_REALTEK_RTL2831U                       0x2831
 #define USB_PID_REALTEK_RTL2832U                       0x2832
 #define USB_PID_TECHNOTREND_CONNECT_S2_3600            0x3007
index 75ec1c659fdd8542890f9b1134527173dfee9f08..c82beac0e0cbfd1fa9f3225bf044e55eab7de410 100644 (file)
@@ -1575,6 +1575,10 @@ static const struct usb_device_id af9035_id_table[] = {
                &af9035_props, "Leadtek WinFast DTV Dongle Dual", NULL) },
        { DVB_USB_DEVICE(USB_VID_HAUPPAUGE, 0xf900,
                &af9035_props, "Hauppauge WinTV-MiniStick 2", NULL) },
+       { DVB_USB_DEVICE(USB_VID_PCTV, USB_PID_PCTV_78E,
+               &af9035_props, "PCTV 78e", RC_MAP_IT913X_V1) },
+       { DVB_USB_DEVICE(USB_VID_PCTV, USB_PID_PCTV_79E,
+               &af9035_props, "PCTV 79e", RC_MAP_IT913X_V2) },
        { }
 };
 MODULE_DEVICE_TABLE(usb, af9035_id_table);