]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ALSA: hda: Enhance pm_blacklist option
authorTakashi Iwai <tiwai@suse.de>
Mon, 29 Jul 2024 14:15:17 +0000 (16:15 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 30 Jul 2024 05:45:55 +0000 (07:45 +0200)
commit3bb668264db5c68a02b557b3052644181bb4f4be
tree91e2a1d1b14bc7b1c06ae97f9ae52a0bdf7362f9
parent8abe0423ddd3ca7b9cea09c0a39249f65e646768
ALSA: hda: Enhance pm_blacklist option

We want sometimes to keep the runtime PM disabled persistently just
like we did for the PM deny-list in the previous change, e.g. for
testing some buggy device.  This patch enhances the existing
pm_blacklist option for achieving it easily.

The default behavior doesn't change -- the driver looks up the deny
list and disables the runtime PM if matches.  However, when
pm_blacklist=1 option is set, now the driver disables the runtime PM
completely, just like the deny-list does.

Update the documentation for this option, too.

Link: https://patch.msgid.link/20240729141519.18398-2-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Documentation/sound/alsa-configuration.rst
sound/pci/hda/hda_intel.c