lkml.org 
[lkml]   [2019]   [Sep]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5.3 23/25] ALSA: hda - Apply AMD controller workaround for Raven platform
    Date
    From: Takashi Iwai <tiwai@suse.de>

    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>

    ---
    sound/pci/hda/hda_intel.c | 3 +--
    1 file changed, 1 insertion(+), 2 deletions(-)

    --- a/sound/pci/hda/hda_intel.c
    +++ b/sound/pci/hda/hda_intel.c
    @@ -2517,8 +2517,7 @@ static const struct pci_device_id azx_id
    AZX_DCAPS_PM_RUNTIME },
    /* AMD Raven */
    { PCI_DEVICE(0x1022, 0x15e3),
    - .driver_data = AZX_DRIVER_GENERIC | AZX_DCAPS_PRESET_ATI_SB |
    - AZX_DCAPS_PM_RUNTIME },
    + .driver_data = AZX_DRIVER_GENERIC | AZX_DCAPS_PRESET_AMD_SB },
    /* ATI HDMI */
    { PCI_DEVICE(0x1002, 0x0002),
    .driver_data = AZX_DRIVER_ATIHDMI_NS | AZX_DCAPS_PRESET_ATI_HDMI_NS },

    \
     
     \ /
      Last update: 2019-09-29 16:05    [W:5.283 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site