summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2026-10-01 17:10:35 +0200
committerTakashi Iwai <tiwai@suse.de>2026-10-01 17:23:37 +0200
commitf1d565dc92955f05383794e0fa27e61ee0555027 (patch)
tree36929bb94b59890670038f6ff8c19b7c96502610 /tools/lib/python/kdoc/python_version.py
parent9ee4266827cfb67b9fbb89136ea6a8f3d7809f5c (diff)
downloadlinux-next-f1d565dc92955f05383794e0fa27e61ee0555027.tar.gz
linux-next-f1d565dc92955f05383794e0fa27e61ee0555027.zip
ALSA: core: Define auto-cleanup for snd_card_free()
For the errors at the probe time, we'd need to call rather snd_card_free() instead of the snd_card_unref() -- the former calls explicitly snd_card_disconnect() that cleans up the registered devices, etc, while the latter may leak in corner cases. For convenience, define a new auto-clean with snd_card_free. Link: https://patch.msgid.link/20261001151039.592033-1-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions