From patchwork Sun Aug 27 12:26:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Schwarzott X-Patchwork-Id: 43542 Received: from vger.kernel.org ([209.132.180.67]) by www.linuxtv.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dlwds-0001nj-W3; Sun, 27 Aug 2017 12:26:17 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751259AbdH0M0O (ORCPT + 1 other); Sun, 27 Aug 2017 08:26:14 -0400 Received: from smtp.gentoo.org ([140.211.166.183]:42916 "EHLO smtp.gentoo.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751170AbdH0M0O (ORCPT ); Sun, 27 Aug 2017 08:26:14 -0400 Received: from gauss.fritz.box (unknown [IPv6:2001:a62:26c:db01:88b9:96a9:cf94:4a40]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: zzam) by smtp.gentoo.org (Postfix) with ESMTPSA id 7D08B3419C4; Sun, 27 Aug 2017 12:26:12 +0000 (UTC) From: Matthias Schwarzott To: linux-media@vger.kernel.org Cc: mchehab@osg.samsung.com, xpert-reactos@gmx.de, Matthias Schwarzott Subject: [PATCH] cx23885: Explicitly list Hauppauge model numbers of HVR-4400 and HVR-5500 Date: Sun, 27 Aug 2017 14:26:07 +0200 Message-Id: <20170827122607.3738-1-zzam@gentoo.org> X-Mailer: git-send-email 2.14.1 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Add two new model numbers to suppress this message in kernel log: cx23885: cx23885[0]: warning: unknown hauppauge model #121029 Add these model numbers: * Model 121019 - WinTV-HVR4400 * Model 121029 - WinTV-HVR5500 For WinTV-HVR4400 the documentation and my hardware differ: Documentation says it supports DVB-S/S2 and DVB-T, but my hardware also supports DVB-C. Signed-off-by: Matthias Schwarzott --- drivers/media/pci/cx23885/cx23885-cards.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/media/pci/cx23885/cx23885-cards.c b/drivers/media/pci/cx23885/cx23885-cards.c index c48fa8e25a70..78a8836d03e4 100644 --- a/drivers/media/pci/cx23885/cx23885-cards.c +++ b/drivers/media/pci/cx23885/cx23885-cards.c @@ -1278,6 +1278,12 @@ static void hauppauge_eeprom(struct cx23885_dev *dev, u8 *eeprom_data) case 85721: /* WinTV-HVR1290 (PCIe, OEM, RCA in, IR, Dual channel ATSC and Basic analog */ + case 121019: + /* WinTV-HVR4400 (PCIe, DVB-S2, DVB-C/T) */ + break; + case 121029: + /* WinTV-HVR5500 (PCIe, DVB-S2, DVB-C/T) */ + break; case 150329: /* WinTV-HVR5525 (PCIe, DVB-S/S2, DVB-T/T2/C) */ break;