Skip to content

sound: Phase out hybrid PCI devres API

Philipp Stanner linux-sound lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest31 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/31ASoC: sof: Use pure devres PCIsound/soc/sof/sof-pci-dev.c+2 -101 reply
2/31ASoC: intel/avs: Use pure devres PCIsound/soc/intel/avs/core.c+2 -53 replies
3/31AsoC: intel/atom: Use pure devres PCIsound/soc/intel/atom/sst/sst_pci.c+23 -331 reply
4/31ALSA: sonicvibes: Use pure devres PCIsound/pci/sonicvibes.c+1 -10 replies
5/31ALSA: rme96: Use pure devres PCIsound/pci/rme96.c+1 -10 replies
6/31ALSA: rme32: Use pure devres PCIsound/pci/rme32.c+1 -10 replies
7/31ALSA: ens1370: Use pure devres PCIsound/pci/ens1370.c+1 -10 replies
8/31ALSA: cmipci: Use pure devres PCIsound/pci/cmipci.c+1 -10 replies
9/31ALSA: via82: Use pure devres PCIsound/pci/via82xx.c sound/pci/via82xx_modem.c+2 -20 replies
10/31ALSA: sis7019: Use pure devres PCIsound/pci/sis7019.c+1 -10 replies
11/31ALSA: intel8x: Use pure devres PCIsound/pci/intel8x0.c sound/pci/intel8x0m.c+2 -20 replies
12/31ALSA: fm801: Use pure devres PCIsound/pci/fm801.c+1 -10 replies
13/31ALSA: es19x8: Use pure devres PCIsound/pci/es1938.c sound/pci/es1968.c+2 -20 replies
14/31ALSA: azt3328: Use pure devres PCIsound/pci/azt3328.c+1 -10 replies
15/31ALSA: als: Use pure devres PCIsound/pci/als300.c sound/pci/als4000.c+2 -20 replies
16/31ALSA: oxygen: Use pure devres PCIsound/pci/oxygen/oxygen_lib.c+1 -10 replies
17/31ALSA: lx6464es: Use pure devres PCIsound/pci/lx6464es/lx6464es.c+1 -10 replies
18/31ALSA: vx222: Use pure devres PCIsound/pci/vx222/vx222.c+1 -10 replies
19/31ALSA: trident: Use pure devres PCIsound/pci/trident/trident_main.c+1 -10 replies
20/31ALSA: rme9652: Use pure devres PCIsound/pci/rme9652/hdsp.c sound/pci/rme9652/rme9652.c+2 -20 replies
21/31ALSA: ymfpci: Use pure devres PCIsound/pci/ymfpci/ymfpci_main.c+1 -10 replies
22/31ALSA: riptide: Use pure devres PCIsound/pci/riptide/riptide.c+1 -10 replies
23/31ALSA: nm256: Use pure devres PCIsound/pci/nm256/nm256.c+1 -10 replies
24/31ALSA: ice: Use pure devres PCIsound/pci/ice1712/ice1712.c sound/pci/ice1712/ice1724.c+2 -20 replies
25/31ALSA: emu10k1: Use pure devres PCIsound/pci/emu10k1/emu10k1_main.c sound/pci/emu10k1/emu10k1x.c+2 -20 replies
26/31ALSA: echoaudio: Use pure devres PCIsound/pci/echoaudio/echoaudio.c+1 -10 replies
27/31ALSA: cs5535: Use pure devres PCIsound/pci/cs5535audio/cs5535audio.c+1 -10 replies
28/31ALSA: cs46xx: Use pure devres PCIsound/pci/cs46xx/cs46xx_lib.c+1 -10 replies
29/31ALSA: ca0106: Use pure devres PCIsound/pci/ca0106/ca0106_main.c+1 -10 replies
30/31ALSA: ali5451: Use pure devres PCIsound/pci/ali5451/ali5451.c+1 -10 replies
31/31ALSA: maestro3: Use pure devres PCIsound/pci/maestro3.c+1 -10 replies

Reviews trailers per patch

None of the 31 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAndy Shevchenko
SeriesR-b
1/31
2/31
3/31
4/31
5/31
6/31
7/31
8/31
9/31
10/31
11/31
12/31
13/31
14/31
15/31
16/31
17/31
18/31
19/31
20/31
21/31
22/31
23/31
24/31
25/31
26/31
27/31
28/31
29/31
30/31
31/31

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/31] sound: Phase out hybrid PCI devres API

Hi,

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

Philipp Stanner (31):
ASoC: sof: Use pure devres PCI
ASoC: intel/avs: Use pure devres PCI
AsoC: intel/atom: Use pure devres PCI
ALSA: sonicvibes: Use pure devres PCI
ALSA: rme96: Use pure devres PCI
ALSA: rme32: Use pure devres PCI
ALSA: ens1370: Use pure devres PCI
ALSA: cmipci: Use pure devres PCI
ALSA: via82: Use pure devres PCI
ALSA: sis7019: Use pure devres PCI
ALSA: intel8x: Use pure devres PCI
ALSA: fm801: Use pure devres PCI
ALSA: es19x8: Use pure devres PCI
ALSA: azt3328: Use pure devres PCI
ALSA: als: Use pure devres PCI
ALSA: oxygen: Use pure devres PCI
ALSA: lx6464es: Use pure devres PCI
ALSA: vx222: Use pure devres PCI
ALSA: trident: Use pure devres PCI
ALSA: rme9652: Use pure devres PCI
ALSA: ymfpci: Use pure devres PCI
ALSA: riptide: Use pure devres PCI
ALSA: nm256: Use pure devres PCI
ALSA: ice: Use pure devres PCI
ALSA: emu10k1: Use pure devres PCI
ALSA: echoaudio: Use pure devres PCI
ALSA: cs5535: Use pure devres PCI
ALSA: cs46xx: Use pure devres PCI
ALSA: ca0106: Use pure devres PCI
ALSA: ali5451: Use pure devres PCI
ALSA: maestro3: Use pure devres PCI

 sound/pci/ali5451/ali5451.c         |  2 +-
 sound/pci/als300.c                  |  2 +-
 sound/pci/als4000.c                 |  2 +-
 sound/pci/azt3328.c                 |  2 +-
 sound/pci/ca0106/ca0106_main.c      |  2 +-
 sound/pci/cmipci.c                  |  2 +-
 sound/pci/cs46xx/cs46xx_lib.c       |  2 +-
 sound/pci/cs5535audio/cs5535audio.c |  2 +-
 sound/pci/echoaudio/echoaudio.c     |  2 +-
 sound/pci/emu10k1/emu10k1_main.c    |  2 +-
 sound/pci/emu10k1/emu10k1x.c        |  2 +-
 sound/pci/ens1370.c                 |  2 +-
 sound/pci/es1938.c                  |  2 +-
 sound/pci/es1968.c                  |  2 +-
 sound/pci/fm801.c                   |  2 +-
 sound/pci/ice1712/ice1712.c         |  2 +-
 sound/pci/ice1712/ice1724.c         |  2 +-
 sound/pci/intel8x0.c                |  2 +-
 sound/pci/intel8x0m.c               |  2 +-
 sound/pci/lx6464es/lx6464es.c       |  2 +-
 sound/pci/maestro3.c                |  2 +-
 sound/pci/nm256/nm256.c             |  2 +-
 sound/pci/oxygen/oxygen_lib.c       |  2 +-
 sound/pci/riptide/riptide.c         |  2 +-
 sound/pci/rme32.c                   |  2 +-
 sound/pci/rme96.c                   |  2 +-
 sound/pci/rme9652/hdsp.c            |  2 +-
 sound/pci/rme9652/rme9652.c         |  2 +-
 sound/pci/sis7019.c                 |  2 +-
 sound/pci/sonicvibes.c              |  2 +-
 sound/pci/trident/trident_main.c    |  2 +-
 sound/pci/via82xx.c                 |  2 +-
 sound/pci/via82xx_modem.c           |  2 +-
 sound/pci/vx222/vx222.c             |  2 +-
 sound/pci/ymfpci/ymfpci_main.c      |  2 +-
 sound/soc/intel/atom/sst/sst_pci.c  | 56 ++++++++++++-----------------
 sound/soc/intel/avs/core.c          |  7 ++--
 sound/soc/sof/sof-pci-dev.c         | 12 ++-----
 38 files changed, 62 insertions(+), 83 deletions(-)
Signature · 1 line
2.48.1