OpenCloudOS-Kernel/sound/pci/emu10k1
Takashi Iwai 2b377c6b60 ALSA: emu10k1x: Allocate resources with device-managed APIs
This patch converts the resource management in PCI emu10k1x 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-35-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2021-07-19 16:16:58 +02:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
emu10k1.c ALSA: emu10k1: Allocate resources with device-managed APIs 2021-07-19 16:16:56 +02:00
emu10k1_callback.c ALSA: emu10k1: Fix assignment in if condition 2021-06-09 17:30:11 +02:00
emu10k1_main.c ALSA: emu10k1: Allocate resources with device-managed APIs 2021-07-19 16:16:56 +02:00
emu10k1_patch.c ALSA: pci/emu10k1: remove 'set but not used' warning 2020-07-07 12:09:45 +02:00
emu10k1_synth.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
emu10k1_synth_local.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
emu10k1x.c ALSA: emu10k1x: Allocate resources with device-managed APIs 2021-07-19 16:16:58 +02:00
emufx.c ALSA: emu10k1: Fix assignment in if condition 2021-06-09 17:30:11 +02:00
emumixer.c ALSA: emu10k1: Fix assignment in if condition 2021-06-09 17:30:11 +02:00
emumpu401.c ALSA: emu10k1: Fix assignment in if condition 2021-06-09 17:30:11 +02:00
emupcm.c ALSA: emu10k1: Fix assignment in if condition 2021-06-09 17:30:11 +02:00
emuproc.c ALSA: emu10k1: More constifications 2020-01-05 16:14:39 +01:00
io.c ALSA: emu10k1: More constifications 2020-01-05 16:14:39 +01:00
irq.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
memory.c ALSA: emu10k1: Fix assignment in if condition 2021-06-09 17:30:11 +02:00
p16v.c ALSA: emu10k1: Allocate resources with device-managed APIs 2021-07-19 16:16:56 +02:00
p16v.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
p17v.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
timer.c ALSA: emu10k1: Fix assignment in if condition 2021-06-09 17:30:11 +02:00
tina2.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
voice.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00