]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: hda/hdmi: Use guard() for mutex locks
authorTakashi Iwai <tiwai@suse.de>
Wed, 27 Aug 2025 07:28:50 +0000 (09:28 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 29 Aug 2025 09:52:14 +0000 (11:52 +0200)
commit2387cf78f5fd84b72880ad15a5627f9d91fe9e98
tree8cf02b01f4034efa4ac961580b1cc83cd30364f0
parenta56ec9d33ee9c8f61ccc6a54548f34e10415c3d0
ALSA: hda/hdmi: Use guard() for mutex locks

Replace the manual mutex lock/unlock pairs with guard().

Only code refactoring, and no behavior change.

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