ALSA: hda: add AMD Bonaire AZ PCI ID with proper driver caps
authorMaruthi Srinivas Bayyavarapu <Maruthi.Bayyavarapu@amd.com>
Wed, 3 Aug 2016 11:16:39 +0000 (16:46 +0530)
committerTakashi Iwai <tiwai@suse.de>
Wed, 3 Aug 2016 11:57:52 +0000 (13:57 +0200)
This commit fixes garbled audio on Bonaire HDMI

Signed-off-by: Maruthi Bayyavarapu <maruthi.bayyavarapu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_intel.c

index 6f8ea13323c1819c27dbe10f2af0293415f06135..89dacf9b4e6cbcdd7caaed257ce77a510083c3c4 100644 (file)
@@ -2265,6 +2265,8 @@ static const struct pci_device_id azx_ids[] = {
        { PCI_DEVICE(0x1022, 0x780d),
          .driver_data = AZX_DRIVER_GENERIC | AZX_DCAPS_PRESET_ATI_SB },
        /* ATI HDMI */
+       { PCI_DEVICE(0x1002, 0x0002),
+         .driver_data = AZX_DRIVER_ATIHDMI_NS | AZX_DCAPS_PRESET_ATI_HDMI_NS },
        { PCI_DEVICE(0x1002, 0x1308),
          .driver_data = AZX_DRIVER_ATIHDMI_NS | AZX_DCAPS_PRESET_ATI_HDMI_NS },
        { PCI_DEVICE(0x1002, 0x157a),