summaryrefslogtreecommitdiff
path: root/scripts/bash-completion
diff options
context:
space:
mode:
authorCássio Gabriel <cassiogabrielcontato@gmail.com>2026-06-04 07:48:13 +0300
committerTakashi Iwai <tiwai@suse.de>2026-06-04 11:20:41 +0300
commitc6c6f0aec6fb4cbcc547bb265315fd76f18be731 (patch)
tree397dec1d2152b1eb96dceb63b82ec449b59192a5 /scripts/bash-completion
parent83615ff7c61ce2336b81b68cfbba6eadaf7843e9 (diff)
downloadlinux-c6c6f0aec6fb4cbcc547bb265315fd76f18be731.tar.xz
ALSA: core: Add scoped cleanup helper for card references
Several ALSA paths acquire temporary card references with snd_card_ref() and release them manually with snd_card_unref(). control_led.c already defines a local cleanup helper for this pattern, while other core paths still open-code the release. Move the helper to the common ALSA core header and use it in control-layer card-reference paths. This makes the ownership rule explicit and avoids future missing-unref mistakes when adding early exits. No functional change is intended. Signed-off-by: Cássio Gabriel <cassiogabrielcontato@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://patch.msgid.link/20260604-alsa-scoped-cleanups-v1-2-10c43152a728@gmail.com
Diffstat (limited to 'scripts/bash-completion')
0 files changed, 0 insertions, 0 deletions