]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ALSA: aw2: do not grab every saa7146 based device
authorAnssi Hannula <anssi.hannula@gmail.com>
Sun, 22 Feb 2009 12:42:54 +0000 (14:42 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 23 Feb 2009 06:41:25 +0000 (07:41 +0100)
commite8bf069c419c1dc0657e02636441fe1179a9db14
treea85f2d75cb8c07317a6d59dfba70a3c15fa54e84
parente32740d9786b8a6c54f6e3d670567d9ef57b3b8c
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>
sound/pci/aw2/aw2-alsa.c