diff options
| author | Takashi Iwai <[email protected]> | 2024-02-27 08:52:44 +0000 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2024-02-28 14:01:20 +0000 |
| commit | d648843aa4742377b22e273c80d575e98195930f (patch) | |
| tree | 50f4babea4cf21573a99d626b0bb6468cc7e053d /sound/core/timer.c | |
| parent | ALSA: ump: Use guard() for locking (diff) | |
| download | kernel-d648843aa4742377b22e273c80d575e98195930f.tar.gz kernel-d648843aa4742377b22e273c80d575e98195930f.zip | |
ALSA: compress_offload: Use guard() for locking
We can simplify the code gracefully with new guard() macro and co for
automatic cleanup of locks.
The explicit mutex_lock/unlock are still seen only in
snd_compress_wait_for_drain() which does temporary unlock/relocking.
Only the code refactoring, and no functional changes.
Signed-off-by: Takashi Iwai <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'sound/core/timer.c')
0 files changed, 0 insertions, 0 deletions
