]> git.ipfire.org Git - thirdparty/linux.git/commit
ALSA: hda/tas2781: Use guard() for mutex locks
authorTakashi Iwai <tiwai@suse.de>
Wed, 27 Aug 2025 07:28:53 +0000 (09:28 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 29 Aug 2025 09:52:14 +0000 (11:52 +0200)
commit6f27e5f029fb665efa53cd3aa9310b915c537495
tree47e4a5a88e70b35e0038686fee5912ace3c47c14
parentd1c374866cb42063303db48d8a6dd340858a4c9c
ALSA: hda/tas2781: 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-14-tiwai@suse.de
sound/hda/codecs/side-codecs/tas2781_hda_i2c.c