From patchwork Tue Aug 5 09:19:16 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Malcolm Priestley X-Patchwork-Id: 4676651 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 82CB0C0338 for ; Tue, 5 Aug 2014 09:20:23 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A4C9D20166 for ; Tue, 5 Aug 2014 09:20:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A1FBE2018A for ; Tue, 5 Aug 2014 09:20:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932953AbaHEJT7 (ORCPT ); Tue, 5 Aug 2014 05:19:59 -0400 Received: from mail-we0-f178.google.com ([74.125.82.178]:32795 "EHLO mail-we0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932935AbaHEJT5 (ORCPT ); Tue, 5 Aug 2014 05:19:57 -0400 Received: by mail-we0-f178.google.com with SMTP id w61so689790wes.9 for ; Tue, 05 Aug 2014 02:19:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=dls/PCHhj7qtflmZJ7cWudBm8KguRHV5liiBHuJ76UQ=; b=NHRRniV2RBtumTQjWReiZSmPc3mk5lrii5q3dlbaxotYq20Rx+eZIWEqew8e+4hj3m p29SuDkt7E1CuIIolI0JgnDIfwaAgMlY5s9zZPVsWlnJnREfFznsCup3iL4Djv7Tvuj6 HZ8w5mZQhqSdqSJVXDAyhHoGfo7HntNs49wNz3hVYtox6GQQQQYagKMnCz3wOr0ModDR FWBd6j8+rvHkt3WFl2GJoyQG8VyIZo0wfNAn3hmFPOgJ5so7uBy+j5MgOeyhKhkH0xD4 FAxBxPTVlj8PPSKYIj2rFnfQKVFSVryotb4YdkvthpK0hxJGF17tUJdbPz95pRQHOLKi NTwQ== X-Received: by 10.180.98.163 with SMTP id ej3mr4796825wib.36.1407230396137; Tue, 05 Aug 2014 02:19:56 -0700 (PDT) Received: from localhost.localdomain (188.29.98.153.threembb.co.uk. [188.29.98.153]) by mx.google.com with ESMTPSA id xn12sm5859703wib.13.2014.08.05.02.19.54 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 05 Aug 2014 02:19:55 -0700 (PDT) From: Malcolm Priestley To: linux-media@vger.kernel.org Cc: Malcolm Priestley , Antti Palosaari , Subject: [PATCH] af9035: new IDs: add support for PCTV 78e and PCTV 79e Date: Tue, 5 Aug 2014 10:19:16 +0100 Message-Id: <1407230356-3475-1-git-send-email-tvboxspy@gmail.com> X-Mailer: git-send-email 2.0.1 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Cc: Antti Palosaari Cc: # v3.14+ --- drivers/media/dvb-core/dvb-usb-ids.h | 2 ++ drivers/media/usb/dvb-usb-v2/af9035.c | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/drivers/media/dvb-core/dvb-usb-ids.h b/drivers/media/dvb-core/dvb-usb-ids.h index 5135a09..12ce19c 100644 --- a/drivers/media/dvb-core/dvb-usb-ids.h +++ b/drivers/media/dvb-core/dvb-usb-ids.h @@ -280,6 +280,8 @@ #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 diff --git a/drivers/media/usb/dvb-usb-v2/af9035.c b/drivers/media/usb/dvb-usb-v2/af9035.c index 75ec1c6..c82beac 100644 --- a/drivers/media/usb/dvb-usb-v2/af9035.c +++ b/drivers/media/usb/dvb-usb-v2/af9035.c @@ -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);