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)
commit4bfd6247fa9164c8e193a55ef9c0ea3ee22f82d8
treeb61bc40302d3c5cb644cdbdafe52b5ebd9a13aa7
parentb0e1306302018d876472ed074c1bfaa8020bf9df
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: 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>
sound/pci/hda/hda_intel.c
sound/pci/hda/patch_via.c