commit | 54c63cfc153c6909a5d5dbe6072e8704b091f30e | [log] [tgz] |
---|---|---|
author | Jaroslav Kysela <perex@suse.cz> | Thu Jan 12 07:56:40 2006 +0100 |
committer | Jaroslav Kysela <perex@suse.cz> | Sun Jan 22 16:24:07 2006 +0100 |
tree | cb217353ebfe7c2978387744b794e0cda83685d0 | |
parent | 128a46a55da81e563116e99e08e295fda41a145b [diff] |
[ALSA] bt87x - fix detection of unknown card Modules: BT87x driver Signed-off-by: Jaroslav Kysela <perex@suse.cz>
diff --git a/sound/pci/bt87x.c b/sound/pci/bt87x.c index aaaa2e0..c840a4c 100644 --- a/sound/pci/bt87x.c +++ b/sound/pci/bt87x.c
@@ -810,7 +810,7 @@ const struct pci_device_id *supported; supported = pci_match_device(&driver, pci); - if (supported) + if (supported && supported->driver_data > 0) return supported->driver_data; for (i = 0; i < ARRAY_SIZE(blacklist); ++i)