Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
user avatar
Takashi Iwai authored
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: aa92050f ("ALSA: mtpav: Allocate resources with device-managed APIs")
Link: https://lore.kernel.org/r/20220412102636.16000-39-tiwai@suse.de


Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
4fb27190
Forked from BeagleBoard.org / Linux
Source project has a limited visibility.
Name Last commit Last update