OpenCloudOS-Kernel/sound/pci/trident
Takashi Iwai 5adfd8c266 ALSA: trident: Allocate resources with device-managed APIs
This patch converts the resource management in PCI trident driver with
devres as a clean up.  Each manual resource management is converted
with the corresponding devres helper, the page allocations are done
with the devres helper, and the card object release is managed now via
card->private_free instead of a lowlevel snd_device.

This should give no user-visible functional changes.

Link: https://lore.kernel.org/r/20210715075941.23332-49-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2021-07-19 16:17:08 +02:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
trident.c ALSA: trident: Allocate resources with device-managed APIs 2021-07-19 16:17:08 +02:00
trident.h ALSA: trident: Allocate resources with device-managed APIs 2021-07-19 16:17:08 +02:00
trident_main.c ALSA: trident: Allocate resources with device-managed APIs 2021-07-19 16:17:08 +02:00
trident_memory.c ALSA: trident: Allocate resources with device-managed APIs 2021-07-19 16:17:08 +02:00