aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/bt87x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/bt87x.c b/sound/pci/bt87x.c
index aaaa2e0d45c2..c840a4c08e98 100644
--- a/sound/pci/bt87x.c
+++ b/sound/pci/bt87x.c
@@ -810,7 +810,7 @@ static int __devinit snd_bt87x_detect_card(struct pci_dev *pci)
810 const struct pci_device_id *supported; 810 const struct pci_device_id *supported;
811 811
812 supported = pci_match_device(&driver, pci); 812 supported = pci_match_device(&driver, pci);
813 if (supported) 813 if (supported && supported->driver_data > 0)
814 return supported->driver_data; 814 return supported->driver_data;
815 815
816 for (i = 0; i < ARRAY_SIZE(blacklist); ++i) 816 for (i = 0; i < ARRAY_SIZE(blacklist); ++i)