6ebc16e206
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:
|
||
---|---|---|
.. | ||
ak4396.h | ||
cm9780.h | ||
cs2000.h | ||
cs4245.h | ||
cs4362a.h | ||
cs4398.h | ||
Makefile | ||
oxygen_io.c | ||
oxygen_lib.c | ||
oxygen_mixer.c | ||
oxygen_pcm.c | ||
oxygen_regs.h | ||
oxygen.c | ||
oxygen.h | ||
pcm1796.h | ||
se6x.c | ||
virtuoso.c | ||
wm8766.h | ||
wm8776.h | ||
wm8785.h | ||
xonar_cs43xx.c | ||
xonar_dg_mixer.c | ||
xonar_dg.c | ||
xonar_dg.h | ||
xonar_hdmi.c | ||
xonar_lib.c | ||
xonar_pcm179x.c | ||
xonar_wm87x6.c | ||
xonar.h |