mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-14 06:24:53 +08:00
c5e58c4545
The previous cleanup with devres may lead to the incorrect release
orders at the probe error handling due to the devres's nature. Until
we register the card, snd_card_free() has to be called at first for
releasing the stuff properly when the driver tries to manage and
release the stuff via card->private_free().
This patch fixes it by calling snd_card_free() manually on the error
from the probe callback.
Fixes:
|
||
---|---|---|
.. | ||
cs46xx_dsp_scb_types.h | ||
cs46xx_dsp_spos.h | ||
cs46xx_dsp_task_types.h | ||
cs46xx_lib.c | ||
cs46xx_lib.h | ||
cs46xx.c | ||
cs46xx.h | ||
dsp_spos_scb_lib.c | ||
dsp_spos.c | ||
dsp_spos.h | ||
Makefile |