diff mbox

ALSA: hda: add AMD Bonaire AZ PCI ID with proper driver caps

Message ID 1470222999-8291-1-git-send-email-Maruthi.Bayyavarapu@amd.com (mailing list archive)
State New, archived
Headers show

Commit Message

Maruthi Srinivas Bayyavarapu Aug. 3, 2016, 11:16 a.m. UTC
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>
---
 sound/pci/hda/hda_intel.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Takashi Iwai Aug. 3, 2016, 11:59 a.m. UTC | #1
On Wed, 03 Aug 2016 13:16:39 +0200,
Maruthi Srinivas Bayyavarapu wrote:
> 
> 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>

Applied now (with a proper Cc to stable).  Thanks.


Takashi

> ---
>  sound/pci/hda/hda_intel.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
> index 6f8ea13..89dacf9 100644
> --- a/sound/pci/hda/hda_intel.c
> +++ b/sound/pci/hda/hda_intel.c
> @@ -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),
> -- 
> 1.9.1
>
diff mbox

Patch

diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index 6f8ea13..89dacf9 100644
--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.c
@@ -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),