Commit 8e84c641 authored by Trent Piepho's avatar Trent Piepho Committed by Jaroslav Kysela

[ALSA] snd-bt87x: Make the load_all option work correctly

If the load_all option was turned on all cards would be treated as unknown,
even those which are in the database.  Of course, if the card is in the
database there is no reason to use the load_all option.  It's there to force
loading when the card isn't in the database.  But there are out of date wikis
that say to do this and some distros might turn this option on by default.
So, we keep the load_all option from turning known cards into unknown cards.
Signed-off-by: default avatarTrent Piepho <xyzzy@speakeasy.org>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarJaroslav Kysela <perex@perex.cz>
parent 44e0b682
...@@ -848,7 +848,7 @@ static int __devinit snd_bt87x_detect_card(struct pci_dev *pci) ...@@ -848,7 +848,7 @@ static int __devinit snd_bt87x_detect_card(struct pci_dev *pci)
int i; int i;
const struct pci_device_id *supported; const struct pci_device_id *supported;
supported = pci_match_device(&driver, pci); supported = pci_match_id(snd_bt87x_ids, pci);
if (supported && supported->driver_data > 0) if (supported && supported->driver_data > 0)
return supported->driver_data; return supported->driver_data;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment