]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
AsoC: Phase out hybrid PCI devres
authorMark Brown <broonie@kernel.org>
Mon, 5 May 2025 23:42:25 +0000 (08:42 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 5 May 2025 23:42:25 +0000 (08:42 +0900)
Merge series from Philipp Stanner <phasta@kernel.org>:

A year ago we spent quite some work trying to get PCI into better shape.
Some pci_ functions can be sometimes managed with devres, which is
obviously bad. We want to provide an obvious API, where pci_ functions
are never, and pcim_ functions are always managed.

Thus, everyone enabling his device with pcim_enable_device() must be
ported to pcim_ functions. Porting all users will later enable us to
significantly simplify parts of the PCI subsystem. See here [1] for
details.

This patch series does that for sound.

Feel free to squash the commits as you see fit.

P.

[1] https://elixir.bootlin.com/linux/v6.14-rc4/source/drivers/pci/devres.c#L18

1  2 
sound/soc/generic/simple-card-utils.c
sound/soc/intel/avs/core.c

Simple merge
Simple merge