summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai-Heng Feng2018-11-29 09:57:37 +0100
committerGreg Kroah-Hartman2018-12-13 09:16:16 +0100
commit2ea30d9d5fa1fb9777af4758c96073a5db4b8011 (patch)
tree63ec210a88f4760a34b00ef88a352949b65e065c
parentALSA: usb-audio: Fix UAF decrement if card has no live interfaces in card.c (diff)
downloadkernel-qcow2-linux-2ea30d9d5fa1fb9777af4758c96073a5db4b8011.tar.gz
kernel-qcow2-linux-2ea30d9d5fa1fb9777af4758c96073a5db4b8011.tar.xz
kernel-qcow2-linux-2ea30d9d5fa1fb9777af4758c96073a5db4b8011.zip
ALSA: hda: Add support for AMD Stoney Ridge
commit 3deef52ce10514ccdebba8e8ab85f9cebd0eb3f7 upstream. It's similar to other AMD audio devices, it also supports D3, which can save some power drain. Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com> Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--sound/pci/hda/hda_intel.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index 5810be2c6c34..1ddeebc373b3 100644
--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.c
@@ -2585,6 +2585,10 @@ static const struct pci_device_id azx_ids[] = {
/* AMD Hudson */
{ PCI_DEVICE(0x1022, 0x780d),
.driver_data = AZX_DRIVER_GENERIC | AZX_DCAPS_PRESET_ATI_SB },
+ /* AMD Stoney */
+ { PCI_DEVICE(0x1022, 0x157a),
+ .driver_data = AZX_DRIVER_GENERIC | AZX_DCAPS_PRESET_ATI_SB |
+ AZX_DCAPS_PM_RUNTIME },
/* AMD Raven */
{ PCI_DEVICE(0x1022, 0x15e3),
.driver_data = AZX_DRIVER_GENERIC | AZX_DCAPS_PRESET_ATI_SB |