]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: hda/hdmi: Use cleanup macros for PM controls
authorTakashi Iwai <tiwai@suse.de>
Wed, 27 Aug 2025 07:28:43 +0000 (09:28 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 29 Aug 2025 09:52:14 +0000 (11:52 +0200)
commit264145020b243b354668fe0da4de2d6092c13978
tree756313ac941b484dab62ed5ef1fb7b0769c86da4
parente056e8e14c2e21956974712f737734e453cdb8dc
ALSA: hda/hdmi: Use cleanup macros for PM controls

The new macro CLASS(snd_hda_power_pm) can replace the manual
snd_hda_power_up_pm() and _down() calls gracefully.

Merely code cleanups and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250827072916.31933-4-tiwai@suse.de
sound/hda/codecs/hdmi/hdmi.c