diff options
author | Takashi Iwai <[email protected]> | 2022-04-12 12:26:24 +0200 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2022-04-12 17:58:35 +0200 |
commit | 2236a3243ff8291e97c70097dd11a0fdb8904380 (patch) | |
tree | 6d1a62c9fc794450864a1b8100b240461f403efe /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 5e154dfb4f9995096aa6d342df75040ae802c17e (diff) |
ALSA: sis7019: Fix the missing error handling
The previous cleanup with devres forgot to replace the snd_card_free()
call with the devm version. Moreover, it still needs the manual call
of snd_card_free() at the probe error path, otherwise the reverse
order of the releases may happen. This patch addresses those issues.
Fixes: 499ddc16394c ("ALSA: sis7019: Allocate resources with device-managed APIs")
Cc: <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions