]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ALSA: hda - Apply AMD controller workaround for Raven platform
authorTakashi Iwai <tiwai@suse.de>
Fri, 20 Sep 2019 07:30:40 +0000 (09:30 +0200)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 16 Oct 2019 09:55:14 +0000 (11:55 +0200)
commit0c06e51f0700a268e1eb9b0aea7c875bf28f1b62
treee840c1b42b3fecd6a5f4a20fa20fda8e38916231
parentfd1c0d86b0b921102fb8119e2d4a853249cc96cb
ALSA: hda - Apply AMD controller workaround for Raven platform

BugLink: https://bugs.launchpad.net/bugs/1847155
commit d2c63b7dfd06788a466d5ec8a850491f084c5fc2 upstream.

It's reported that the garbled sound on HP Envy x360 13z-ag000 (Ryzen
Laptop) is fixed by the same workaround applied to other AMD chips.
Update the driver_data entry for Raven (1022:15e3) to use the newly
introduced preset, AZX_DCAPS_PRESET_AMD_SB.  Since it already contains
AZX_DCAPS_PM_RUNTIME, we can drop that bit, too.

Reported-and-tested-by: Dennis Padiernos <depadiernos@gmail.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20190920073040.31764-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
sound/pci/hda/hda_intel.c