]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: hda/tegra: Clean up runtime PM with guard()
authorTakashi Iwai <tiwai@suse.de>
Tue, 16 Dec 2025 14:11:49 +0000 (15:11 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 23 Dec 2025 09:51:58 +0000 (10:51 +0100)
commitbe9dd97060e704e702d508f4a295d06e1197ae08
tree69a767be87b9bd3d56dba22f4de8fc5ec7ef328b
parent4a91da4afc7db944d17234e4ecc164df8252b23b
ALSA: hda/tegra: Clean up runtime PM with guard()

Use guard(pm_runtime_active) for replacing the manual calls of
pm_runtime_get_sync() and pm_runtime_put().

Merely code cleanups and no functional changes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20251216141154.172218-5-tiwai@suse.de
sound/hda/controllers/tegra.c