]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
ALSA: hda/via: Fix runtime PM for Clevo W35xSS
authorTakashi Iwai <tiwai@suse.de>
Mon, 4 Jan 2021 15:30:46 +0000 (16:30 +0100)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 19 Feb 2021 15:44:03 +0000 (16:44 +0100)
commit64dd36642bc4c716fd915185d7c46ff1e9a4246a
tree11dfa51e580e08afc9597bbd217d8b708e7f6368
parent69f05934ac80666bdb1400b71ec38ca396ddf9b8
ALSA: hda/via: Fix runtime PM for Clevo W35xSS

BugLink: https://bugs.launchpad.net/bugs/1913486
commit 4bfd6247fa9164c8e193a55ef9c0ea3ee22f82d8 upstream.

Clevo W35xSS_370SS with VIA codec has had the runtime PM problem that
looses the power state of some nodes after the runtime resume.  This
was worked around by disabling the default runtime PM via a denylist
entry.  Since 5.10.x made the runtime PM applied (casually) even
though it's disabled in the denylist, this problem was revisited.  The
result was that disabling power_save_node feature suffices for the
runtime PM problem.

This patch implements the disablement of power_save_node feature in
VIA codec for the device.  It also drops the former denylist entry,
too, as the runtime PM should work in the codec side properly now.

Fixes: b529ef2464ad ("ALSA: hda: Add Clevo W35xSS_370SS to the power_save blacklist")
Reported-by: Christian Labisch <clnetbox@gmail.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20210104153046.19993-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: William Breathitt Gray <william.gray@canonical.com>
sound/pci/hda/hda_intel.c
sound/pci/hda/patch_via.c