summaryrefslogtreecommitdiffstats
path: root/sound/pci
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2022-04-12 12:26:35 +0200
committerTakashi Iwai <tiwai@suse.de>2022-04-12 17:58:43 +0200
commit4fb27190879b82e48ce89a56e9d6c04437dbc065 (patch)
tree7f440dd8fb594f8fa38b1481eff7db7bb684dd61 /sound/pci
parentALSA: rme9652: Fix the missing snd_card_free() call at probe error (diff)
downloadlinux-4fb27190879b82e48ce89a56e9d6c04437dbc065.tar.xz
linux-4fb27190879b82e48ce89a56e9d6c04437dbc065.zip
ALSA: mtpav: Don't call card private_free at probe error path
The card destructor of nm256 driver does merely stopping the running timer, 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: aa92050f10f0 ("ALSA: mtpav: Allocate resources with device-managed APIs") Link: https://lore.kernel.org/r/20220412102636.16000-39-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
0 files changed, 0 insertions, 0 deletions