From patchwork Thu Dec 12 19:38:51 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Malcolm Priestley X-Patchwork-Id: 3333801 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 1CE2D9F2A9 for ; Thu, 12 Dec 2013 19:39:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4AA812076B for ; Thu, 12 Dec 2013 19:39:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1F63120762 for ; Thu, 12 Dec 2013 19:39:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751407Ab3LLTjD (ORCPT ); Thu, 12 Dec 2013 14:39:03 -0500 Received: from mail-wg0-f48.google.com ([74.125.82.48]:59118 "EHLO mail-wg0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750989Ab3LLTjB (ORCPT ); Thu, 12 Dec 2013 14:39:01 -0500 Received: by mail-wg0-f48.google.com with SMTP id z12so943937wgg.27 for ; Thu, 12 Dec 2013 11:39:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:subject:from:to:date:content-type:mime-version :content-transfer-encoding; bh=2c3dGxMCgHa4YmIDHZwrc/da80S+2Y0BEvc0cg5Hec0=; b=RMRzUVzRTEzD5J3F3NarSyI8rEHEjvINepyO3M3g0bDzX7bPGmTS8M9SxLCmg2Z31N ewXHApGLlgzyBCFQVPNz0vQyLUe0F+ZfQjHW+0JTMy/fm1WaA55nVF4ti88iGScL/xL0 JRZIRkRsEpT0S79gf+1pXA+5oPLlynz7Ky8yhUluayPiAUCTpPCrV7Wd5UWsPA00m8xk yQQLA6G8UATyu2xqXLpA6XEnikclUpGjpzcCo51/Lclj6mKcCm/jHfaSJItBbUDJq3zB HFnZWyZlhSzyDC7XyS78YeTcb6SqWzF9BoacCOeMzKLUllzHsFFjaZDmo6Z0IP4+ZZ5/ YujA== X-Received: by 10.180.37.237 with SMTP id b13mr30979440wik.52.1386877140263; Thu, 12 Dec 2013 11:39:00 -0800 (PST) Received: from [192.168.1.101] (92.40.97.112.threembb.co.uk. [92.40.97.112]) by mx.google.com with ESMTPSA id dn2sm434850wid.1.2013.12.12.11.38.56 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Thu, 12 Dec 2013 11:38:59 -0800 (PST) Message-ID: <1386877131.9141.1.camel@canaries64-MCP7A> Subject: [PATCH] it913x: Add support for Avermedia H335 id 0x0335 From: Malcolm Priestley To: linux-media@vger.kernel.org Date: Thu, 12 Dec 2013 19:38:51 +0000 X-Mailer: Evolution 3.8.4-0ubuntu1 Mime-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-6.8 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 Signed-off-by: Malcolm Priestley Cc: stable@vger.kernel.org # v3.11+ --- drivers/media/dvb-core/dvb-usb-ids.h | 1 + drivers/media/usb/dvb-usb-v2/it913x.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/drivers/media/dvb-core/dvb-usb-ids.h b/drivers/media/dvb-core/dvb-usb-ids.h index 4a53454..8407178 100644 --- a/drivers/media/dvb-core/dvb-usb-ids.h +++ b/drivers/media/dvb-core/dvb-usb-ids.h @@ -239,6 +239,7 @@ #define USB_PID_AVERMEDIA_A835B_4835 0x4835 #define USB_PID_AVERMEDIA_1867 0x1867 #define USB_PID_AVERMEDIA_A867 0xa867 +#define USB_PID_AVERMEDIA_H335 0x0335 #define USB_PID_AVERMEDIA_TWINSTAR 0x0825 #define USB_PID_TECHNOTREND_CONNECT_S2400 0x3006 #define USB_PID_TECHNOTREND_CONNECT_S2400_8KEEPROM 0x3009 diff --git a/drivers/media/usb/dvb-usb-v2/it913x.c b/drivers/media/usb/dvb-usb-v2/it913x.c index 1cb6899..fe95a58 100644 --- a/drivers/media/usb/dvb-usb-v2/it913x.c +++ b/drivers/media/usb/dvb-usb-v2/it913x.c @@ -799,6 +799,9 @@ static const struct usb_device_id it913x_id_table[] = { { DVB_USB_DEVICE(USB_VID_KWORLD_2, USB_PID_CTVDIGDUAL_V2, &it913x_properties, "Digital Dual TV Receiver CTVDIGDUAL_V2", RC_MAP_IT913X_V1) }, + { DVB_USB_DEVICE(USB_VID_AVERMEDIA, USB_PID_AVERMEDIA_H335, + &it913x_properties, "Avermedia H335", + RC_MAP_IT913X_V2) }, {} /* Terminating entry */ };