Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 54c63cfc authored by Jaroslav Kysela's avatar Jaroslav Kysela
Browse files

[ALSA] bt87x - fix detection of unknown card



Modules: BT87x driver

Signed-off-by: default avatarJaroslav Kysela <perex@suse.cz>
parent 128a46a5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -810,7 +810,7 @@ static int __devinit snd_bt87x_detect_card(struct pci_dev *pci)
	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)