From patchwork Sun Jul 22 19:18:11 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Malcolm Priestley X-Patchwork-Id: 1224931 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id B8A18E0039 for ; Sun, 22 Jul 2012 19:18:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752429Ab2GVTSW (ORCPT ); Sun, 22 Jul 2012 15:18:22 -0400 Received: from mail-wi0-f178.google.com ([209.85.212.178]:45519 "EHLO mail-wi0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752395Ab2GVTSW (ORCPT ); Sun, 22 Jul 2012 15:18:22 -0400 Received: by wibhr14 with SMTP id hr14so2195699wib.1 for ; Sun, 22 Jul 2012 12:18:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:subject:from:to:cc:date:content-type:x-mailer :content-transfer-encoding:mime-version; bh=D2BrIhGgSHsnAB5mmha/V1DU/rb9jaWKtERYPBR0BpE=; b=eW6AB+SQzfxVJLRiRIKP+/IbfrYwTxUTd2H23itj7ogFmdiqPdtcrpBHq9Mo5q4x1i KTALYdx72JJlkj63GA42xe8pcZ4fJD/soOTw0OwCKzLL3io4qgKX0Ju+J3Riw+GsTfri FFVE7LZdHTm/ONN3+p+gwXPm+uHpkB1cB3C1XmolexC6ZwywcMXR+PlAnXGnyNd+g9ZK 75pEL7y9jZNkU48WrG2KaQXRyiMFMsokuxGjIEFtFb2I/8fV+JyXevteOLaqv2FWCjc9 da9DdEb/wS3/eWjgCZdjz5aDABpLJTQFMo/NR9tGf/H4gpGn7MrYT4g82SnJOkq/gXYZ HQ+w== Received: by 10.180.20.239 with SMTP id q15mr41850217wie.13.1342984700768; Sun, 22 Jul 2012 12:18:20 -0700 (PDT) Received: from [94.196.162.142] (94.196.162.142.threembb.co.uk. [94.196.162.142]) by mx.google.com with ESMTPS id w7sm12752274wiz.0.2012.07.22.12.18.18 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 22 Jul 2012 12:18:19 -0700 (PDT) Message-ID: <1342984691.3141.7.camel@router7789> Subject: [PATCH] it913x (test) - add support for AVerMedia A373 From: Malcolm Priestley To: linux-media@vger.kernel.org Cc: John Layt Date: Sun, 22 Jul 2012 20:18:11 +0100 X-Mailer: Evolution 3.2.3-0ubuntu6 Mime-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Initial test support for IT9137/IT9133 dual. This test patch uses IT9135 firmware sets just in case they are version 2 chips. dvb-usb-it9135-01.fw dvb-usb-it9135-02.fw Signed-off-by: Malcolm Priestley --- drivers/media/dvb/dvb-usb/dvb-usb-ids.h | 1 + drivers/media/dvb/dvb-usb/it913x.c | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/media/dvb/dvb-usb/dvb-usb-ids.h b/drivers/media/dvb/dvb-usb/dvb-usb-ids.h index 26c4481..99ea83f 100644 --- a/drivers/media/dvb/dvb-usb/dvb-usb-ids.h +++ b/drivers/media/dvb/dvb-usb/dvb-usb-ids.h @@ -91,6 +91,7 @@ #define USB_PID_AVERMEDIA_DVBT_USB_WARM 0x0002 #define USB_PID_AVERMEDIA_DVBT_USB2_COLD 0xa800 #define USB_PID_AVERMEDIA_DVBT_USB2_WARM 0xa801 +#define USB_PID_AVERMEDIA_DVBT_A373 0xa373 #define USB_PID_COMPRO_DVBU2000_COLD 0xd000 #define USB_PID_COMPRO_DVBU2000_WARM 0xd001 #define USB_PID_COMPRO_DVBU2000_UNK_COLD 0x010c diff --git a/drivers/media/dvb/dvb-usb/it913x.c b/drivers/media/dvb/dvb-usb/it913x.c index 6244fe9..8d015a3 100644 --- a/drivers/media/dvb/dvb-usb/it913x.c +++ b/drivers/media/dvb/dvb-usb/it913x.c @@ -821,6 +821,7 @@ static struct usb_device_id it913x_table[] = { { USB_DEVICE(USB_VID_KWORLD_2, USB_PID_SVEON_STV22_IT9137) }, { USB_DEVICE(USB_VID_ITETECH, USB_PID_ITETECH_IT9135_9005) }, { USB_DEVICE(USB_VID_ITETECH, USB_PID_ITETECH_IT9135_9006) }, + { USB_DEVICE(USB_VID_AVERMEDIA, USB_PID_AVERMEDIA_DVBT_A373) }, {} /* Terminating entry */ }; @@ -896,7 +897,7 @@ static struct dvb_usb_device_properties it913x_properties = { .rc_codes = RC_MAP_IT913X_V1, }, .i2c_algo = &it913x_i2c_algo, - .num_device_descs = 5, + .num_device_descs = 6, .devices = { { "Kworld UB499-2T T09(IT9137)", { &it913x_table[0], NULL }, @@ -913,6 +914,9 @@ static struct dvb_usb_device_properties it913x_properties = { { "ITE 9135(9006) Generic", { &it913x_table[4], NULL }, }, + { "AVerMedia A373 MiniCard Dual DVB-T", + { &it913x_table[5], NULL }, + }, } };