media/cx25821: Add a card definition for "No brand" cards
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
PATCH 1/1 media/cx25821: Add a card definition for "No brand" cards that have: subvendor = 0x0000 subdevice = 0x0000
From: Sander Eikelenboom <[email protected]>
Signed-off-by 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
@@ -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