diff options
Diffstat (limited to 'sound/pci/bt87x.c')
-rw-r--r-- | sound/pci/bt87x.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/pci/bt87x.c b/sound/pci/bt87x.c index dc9cd3079b14..c840a4c08e98 100644 --- a/sound/pci/bt87x.c +++ b/sound/pci/bt87x.c | |||
@@ -781,6 +781,8 @@ static struct pci_device_id snd_bt87x_ids[] = { | |||
781 | BT_DEVICE(PCI_DEVICE_ID_BROOKTREE_879, 0x0070, 0x13eb, 32000), | 781 | BT_DEVICE(PCI_DEVICE_ID_BROOKTREE_879, 0x0070, 0x13eb, 32000), |
782 | /* Viewcast Osprey 200 */ | 782 | /* Viewcast Osprey 200 */ |
783 | BT_DEVICE(PCI_DEVICE_ID_BROOKTREE_878, 0x0070, 0xff01, 44100), | 783 | BT_DEVICE(PCI_DEVICE_ID_BROOKTREE_878, 0x0070, 0xff01, 44100), |
784 | /* AVerMedia Studio No. 103, 203, ...? */ | ||
785 | BT_DEVICE(PCI_DEVICE_ID_BROOKTREE_878, 0x1461, 0x0003, 48000), | ||
784 | { } | 786 | { } |
785 | }; | 787 | }; |
786 | MODULE_DEVICE_TABLE(pci, snd_bt87x_ids); | 788 | MODULE_DEVICE_TABLE(pci, snd_bt87x_ids); |
@@ -808,7 +810,7 @@ static int __devinit snd_bt87x_detect_card(struct pci_dev *pci) | |||
808 | const struct pci_device_id *supported; | 810 | const struct pci_device_id *supported; |
809 | 811 | ||
810 | supported = pci_match_device(&driver, pci); | 812 | supported = pci_match_device(&driver, pci); |
811 | if (supported) | 813 | if (supported && supported->driver_data > 0) |
812 | return supported->driver_data; | 814 | return supported->driver_data; |
813 | 815 | ||
814 | for (i = 0; i < ARRAY_SIZE(blacklist); ++i) | 816 | for (i = 0; i < ARRAY_SIZE(blacklist); ++i) |