]> Gentwo Git Trees - linux/.git/commit
ALSA: korg1212: Use guard() for mutex locks
authorTakashi Iwai <tiwai@suse.de>
Fri, 29 Aug 2025 14:43:12 +0000 (16:43 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 1 Sep 2025 11:52:41 +0000 (13:52 +0200)
commit940653fff03a647357efe3ce6e0d89dc2bcbee2e
tree497c3400e376b5cc9168a742f1cda65d8a6a0973
parent220a76bbf750db588c260d3a6b9ae1f9e342ee55
ALSA: korg1212: Use guard() for mutex locks

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

Only code refactoring, and no behavior change.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250829144342.4290-38-tiwai@suse.de
sound/pci/korg1212/korg1212.c