aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndiry Brienza <andiry.xu@amd.com>2009-07-16 23:32:32 -0400
committerTakashi Iwai <tiwai@suse.de>2009-07-17 05:16:51 -0400
commit9176b672c29baaa94cdff4eedf1350a3b553d9ea (patch)
tree3304c4b62881f8a54cd85a274f86070e8e6b9d20
parent0fb67e982a1749b2cd477709838bf866028970ce (diff)
ALSA: hda - Add support for new AMD HD audio devices
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@amd.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--sound/pci/hda/hda_intel.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index a7cf34965225..4db854b43e6b 100644
--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.c
@@ -2634,11 +2634,15 @@ static struct pci_device_id azx_ids[] = {
2634 /* this entry seems still valid -- i.e. without emu20kx chip */ 2634 /* this entry seems still valid -- i.e. without emu20kx chip */
2635 { PCI_DEVICE(0x1102, 0x0009), .driver_data = AZX_DRIVER_GENERIC }, 2635 { PCI_DEVICE(0x1102, 0x0009), .driver_data = AZX_DRIVER_GENERIC },
2636#endif 2636#endif
2637 /* AMD Generic, PCI class code and Vendor ID for HD Audio */ 2637 /* AMD/ATI Generic, PCI class code and Vendor ID for HD Audio */
2638 { PCI_DEVICE(PCI_VENDOR_ID_ATI, PCI_ANY_ID), 2638 { PCI_DEVICE(PCI_VENDOR_ID_ATI, PCI_ANY_ID),
2639 .class = PCI_CLASS_MULTIMEDIA_HD_AUDIO << 8, 2639 .class = PCI_CLASS_MULTIMEDIA_HD_AUDIO << 8,
2640 .class_mask = 0xffffff, 2640 .class_mask = 0xffffff,
2641 .driver_data = AZX_DRIVER_GENERIC }, 2641 .driver_data = AZX_DRIVER_GENERIC },
2642 { PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_ANY_ID),
2643 .class = PCI_CLASS_MULTIMEDIA_HD_AUDIO << 8,
2644 .class_mask = 0xffffff,
2645 .driver_data = AZX_DRIVER_GENERIC },
2642 { 0, } 2646 { 0, }
2643}; 2647};
2644MODULE_DEVICE_TABLE(pci, azx_ids); 2648MODULE_DEVICE_TABLE(pci, azx_ids);