]> git.baikalelectronics.ru Git - 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)
committerTakashi Iwai <tiwai@suse.de>
Mon, 4 Jan 2021 15:34:43 +0000 (16:34 +0100)
commitc718272c6f9ee335435352027061c04b3d264a28
treeb61bc40302d3c5cb644cdbdafe52b5ebd9a13aa7
parent478ac8ce461011ded8fe0f4b3c05bad000563d91
ALSA: hda/via: Fix runtime PM for Clevo W35xSS

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: 625db948aa16 ("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>
sound/pci/hda/hda_intel.c
sound/pci/hda/patch_via.c