media: cx23885: Explicitly list Hauppauge model numbers of HVR-4400 and HVR-5500
authorMatthias Schwarzott <zzam@gentoo.org>
Sun, 27 Aug 2017 12:26:07 +0000 (08:26 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sun, 27 Aug 2017 22:13:43 +0000 (18:13 -0400)
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 <zzam@gentoo.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/pci/cx23885/cx23885-cards.c

index c48fa8e25a70bf8334c9af95da96a0b085987895..78a8836d03e428d11998cc39de71a3dad735ebdd 100644 (file)
@@ -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;