Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ALSA: aw2: do not grab every saa7146 based device

Audiowerk2 driver snd-aw2 is bound to any saa7146 device as it does not
check subsystem ids. Many DVB devices are saa7146 based, so aw2 driver
grabs them as well.

According to http://lkml.org/lkml/2008/10/15/311 aw2 devices have the
subsystem ids set to 0, the saa7146 default.

Fix conflicts with DVB devices by checking for subsystem ids = 0
specifically.

Signed-off-by: Anssi Hannula <anssi.hannula@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

authored by

Anssi Hannula and committed by
Takashi Iwai
e8bf069c e32740d9

+1 -1
+1 -1
sound/pci/aw2/aw2-alsa.c
··· 165 165 MODULE_PARM_DESC(enable, "Enable Audiowerk2 soundcard."); 166 166 167 167 static struct pci_device_id snd_aw2_ids[] = { 168 - {PCI_VENDOR_ID_SAA7146, PCI_DEVICE_ID_SAA7146, PCI_ANY_ID, PCI_ANY_ID, 168 + {PCI_VENDOR_ID_SAA7146, PCI_DEVICE_ID_SAA7146, 0, 0, 169 169 0, 0, 0}, 170 170 {0} 171 171 };