Re: [patch] aw2: do not grab every saa7146 based device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At Sun, 22 Feb 2009 14:42:54 +0200,
Anssi Hannula wrote:
> 
> 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@xxxxxxxxx>

Thanks!  Applied it as is, since this isn't worse than now, at least
(although this is no real solution yet...)


Takashi

> 
> --- linux-2629-pidff/sound/pci/aw2/aw2-alsa.c.old	2009-02-13 03:47:15.000000000 +0200
> +++ linux-2629-pidff/sound/pci/aw2/aw2-alsa.c	2009-02-22 14:16:20.000000000 +0200
> @@ -165,7 +165,7 @@ module_param_array(enable, bool, NULL, 0
>  MODULE_PARM_DESC(enable, "Enable Audiowerk2 soundcard.");
>  
>  static struct pci_device_id snd_aw2_ids[] = {
> -	{PCI_VENDOR_ID_SAA7146, PCI_DEVICE_ID_SAA7146, PCI_ANY_ID, PCI_ANY_ID,
> +	{PCI_VENDOR_ID_SAA7146, PCI_DEVICE_ID_SAA7146, 0, 0,
>  	 0, 0, 0},
>  	{0}
>  };
> 
> 
> 
> -- 
> Anssi Hannula
> 
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux