diff options
| author | Takashi Iwai <tiwai@suse.de> | 2025-08-11 10:15:00 +0200 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2025-08-12 08:35:20 +0200 |
| commit | 43d4940c944c20f41dde2e091284646367c10c60 (patch) | |
| tree | 08016d7162c271395a4e2b3544559cf38b8e5bd7 /sound/usb/proc.c | |
| parent | f4ee43ae6ea8c509d470f20e7b446adf5a167dba (diff) | |
ALSA: usb: scarlett2: Clean ups with guard() and __free()
There are lots of manual mutex lock/unlock and temporary kmalloc/kfree
patterns found in mixer_scalett2.c. Let's simplify the code with the
recent lock guard() and auto cleanup with __free().
Only code refactoring, and there should be no actual behavior change.
Link: https://patch.msgid.link/20250811081502.30768-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/proc.c')
0 files changed, 0 insertions, 0 deletions
