[alsa-devel] [PATCH]HDA: Add support for new AMD HD audio devices

Takashi Iwai tiwai at suse.de
Fri Jul 17 11:28:14 CEST 2009


At Fri, 17 Jul 2009 11:32:32 +0800,
Andiry Brienza wrote:
> 
> Add support for new AMD HD audio devices. Use generic driver to detect HD audio
> devices with Vendor ID AMD.
> 
> Signed-off-by: Andiry Xu <andiry.xu at amd.com>

Thanks, applied now.


Takashi

> diff -ruN a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
> --- a/sound/pci/hda/hda_intel.c	2009-07-17 10:46:24.000000000 +0800
> +++ b/sound/pci/hda/hda_intel.c	2009-07-17 11:04:45.000000000 +0800
> @@ -2604,11 +2604,15 @@
>  	/* this entry seems still valid -- i.e. without emu20kx chip */
>  	{ PCI_DEVICE(0x1102, 0x0009), .driver_data = AZX_DRIVER_GENERIC },
>  #endif
> -	/* AMD Generic, PCI class code and Vendor ID for HD Audio */
> +	/* AMD/ATI Generic, PCI class code and Vendor ID for HD Audio */
>  	{ PCI_DEVICE(PCI_VENDOR_ID_ATI, PCI_ANY_ID),
>  	  .class = PCI_CLASS_MULTIMEDIA_HD_AUDIO << 8,
>  	  .class_mask = 0xffffff,
>  	  .driver_data = AZX_DRIVER_GENERIC },
> +	{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_ANY_ID),
> +	  .class = PCI_CLASS_MULTIMEDIA_HD_AUDIO << 8,
> +	  .class_mask = 0xffffff,
> +	  .driver_data = AZX_DRIVER_GENERIC },
>  	{ 0, }
>  };
>  MODULE_DEVICE_TABLE(pci, azx_ids);
> 
> 


More information about the Alsa-devel mailing list