diff options
| author | Takashi Iwai <tiwai@suse.de> | 2024-02-27 09:52:51 +0100 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2024-02-28 15:01:21 +0100 |
| commit | 84bb065b316e8367e14a8824a8f4d21056b10c53 (patch) | |
| tree | c4487cace4ab6648e7aaa5bac1dc507e6f0a5e81 /scripts/patch-kernel | |
| parent | ALSA: control: Use guard() for locking (diff) | |
| download | linux-84bb065b316e8367e14a8824a8f4d21056b10c53.tar.gz linux-84bb065b316e8367e14a8824a8f4d21056b10c53.zip | |
ALSA: rawmidi: Use guard() for locking
We can simplify the code gracefully with new guard() macro and co for
automatic cleanup of locks.
There are a few remaining explicit mutex and spinlock calls, and those
are the places where the temporary unlock/relocking happens -- which
guard() doens't cover well yet.
Only the code refactoring, and no functional changes.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20240227085306.9764-10-tiwai@suse.de
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
