summaryrefslogtreecommitdiff
path: root/sound/core
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2022-04-12 13:26:36 +0300
committerTakashi Iwai <tiwai@suse.de>2022-04-12 18:58:44 +0300
commitf20ae5074dfb38f23b0c07c62bdf8e7254a0acf8 (patch)
tree36662947bdbec98e40270aa62d221f335acdd41b /sound/core
parent4fb27190879b82e48ce89a56e9d6c04437dbc065 (diff)
downloadlinux-f20ae5074dfb38f23b0c07c62bdf8e7254a0acf8.tar.xz
ALSA: nm256: Don't call card private_free at probe error path
The card destructor of nm256 driver does merely stopping the running streams, and it's superfluous for the probe error handling. Moreover, calling this via the previous devres change would lead to another problem due to the reverse call order. This patch moves the setup of the private_free callback after the card registration, so that it can be used only after fully set up. Fixes: c19935f04784 ("ALSA: nm256: Allocate resources with device-managed APIs") Cc: <stable@vger.kernel.org> Link: https://lore.kernel.org/r/20220412102636.16000-40-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core')
0 files changed, 0 insertions, 0 deletions