mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-24 09:13:20 -05:00
4a850a0079
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() on the error from the
probe callback using a new helper function.
Fixes:
|
||
---|---|---|
.. | ||
ak4xxx.c | ||
amp.c | ||
amp.h | ||
aureon.c | ||
aureon.h | ||
delta.c | ||
delta.h | ||
envy24ht.h | ||
ews.c | ||
ews.h | ||
hoontech.c | ||
hoontech.h | ||
ice1712.c | ||
ice1712.h | ||
ice1724.c | ||
juli.c | ||
juli.h | ||
Makefile | ||
maya44.c | ||
maya44.h | ||
phase.c | ||
phase.h | ||
pontis.c | ||
pontis.h | ||
prodigy192.c | ||
prodigy192.h | ||
prodigy_hifi.c | ||
prodigy_hifi.h | ||
psc724.c | ||
psc724.h | ||
quartet.c | ||
quartet.h | ||
revo.c | ||
revo.h | ||
se.c | ||
se.h | ||
stac946x.h | ||
vt1720_mobo.c | ||
vt1720_mobo.h | ||
wm8766.c | ||
wm8766.h | ||
wm8776.c | ||
wm8776.h | ||
wtm.c | ||
wtm.h |