diff options
| author | Takashi Iwai <tiwai@suse.de> | 2026-10-01 17:10:35 +0200 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2026-10-01 17:23:37 +0200 |
| commit | f1d565dc92955f05383794e0fa27e61ee0555027 (patch) | |
| tree | 36929bb94b59890670038f6ff8c19b7c96502610 /include/linux/timerqueue.h | |
| parent | 9ee4266827cfb67b9fbb89136ea6a8f3d7809f5c (diff) | |
| download | linux-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 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
