Skip to contentSkip to conversation

media/cx25821: Add a card definition for "No brand" cards

PATCH New [email protected] 1 participant 2 messages Feb 24, 2012 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 media/cx25821: Add a card definition for "No brand" cards

Hi All,

My "No Brand" cx25821 based card wasn't recognized by the cx25821 module, because the subvendor and subdevice both are 0x0000. This patch adds a card definition for these "No Brand" cards.
With this patch the device is confirmed to be working with this module.

--
Sander

#1 lore raw

PATCH 1/1 media/cx25821: Add a card definition for "No brand" cards that have: subvendor = 0x0000 subdevice = 0x0000

From: Sander Eikelenboom <[email protected]>

---
 drivers/media/video/cx25821/cx25821-core.c |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
drivers/media/video/cx25821/cx25821-core.c +7 -2
index f617474..f51f790 100644
@@ -1472,8 +1472,13 @@ static DEFINE_PCI_DEVICE_TABLE(cx25821_pci_tbl) = {
 		/* CX25821 Athena */
 		.vendor = 0x14f1,
 		.device = 0x8210,
-		.subvendor = 0x14f1,
-		.subdevice = 0x0920,
+	},
+	{
+		/* CX25821 No Brand */
+		.vendor = 0x14f1,
+		.device = 0x8210,
+		.subvendor = 0x0000,
+		.subdevice = 0x0000,
 	},
 	{
 		/* --- end of list --- */
Signature · 1 line
1.7.2.5