public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Philipp Stanner <phasta@kernel.org>
To: Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
	Jaya Kumar <jayakumar.alsa@gmail.com>,
	Clemens Ladisch <clemens@ladisch.de>,
	Colin Ian King <colin.i.king@gmail.com>,
	Philipp Stanner <phasta@kernel.org>,
	Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
	Jerome Brunet <jbrunet@baylibre.com>,
	Mark Brown <broonie@kernel.org>,
	liujing <liujing@cmss.chinamobile.com>,
	Andres Urian Florez <andres.emb.sys@gmail.com>,
	Oswald Buddenhagen <oswald.buddenhagen@gmx.de>,
	Thorsten Blum <thorsten.blum@linux.dev>,
	David Rhodes <drhodes@opensource.cirrus.com>,
	Ingo Molnar <mingo@kernel.org>,
	Thomas Gleixner <tglx@linutronix.de>
Cc: linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH v2 00/28] ALSA: Phase out hybrid PCI devres API
Date: Wed, 23 Apr 2025 09:53:18 +0200	[thread overview]
Message-ID: <20250423075346.45907-1-phasta@kernel.org> (raw)

Changes in v2:
  - Add RB from Andy
  - Remove ASoC patches, branch out this series for Alsa. (Andy)

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 (28):
  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 +-
 35 files changed, 35 insertions(+), 35 deletions(-)

-- 
2.48.1


             reply	other threads:[~2025-04-23  7:54 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-23  7:53 Philipp Stanner [this message]
2025-04-23  7:53 ` [PATCH v2 01/28] ALSA: sonicvibes: Use pure devres PCI Philipp Stanner
2025-04-23  7:53 ` [PATCH v2 02/28] ALSA: rme96: " Philipp Stanner
2025-04-23  7:53 ` [PATCH v2 03/28] ALSA: rme32: " Philipp Stanner
2025-04-23  7:53 ` [PATCH v2 04/28] ALSA: ens1370: " Philipp Stanner
2025-04-23  7:53 ` [PATCH v2 05/28] ALSA: cmipci: " Philipp Stanner
2025-04-23  7:53 ` [PATCH v2 06/28] ALSA: via82: " Philipp Stanner
2025-04-23  7:53 ` [PATCH v2 07/28] ALSA: sis7019: " Philipp Stanner
2025-04-23  7:53 ` [PATCH v2 08/28] ALSA: intel8x: " Philipp Stanner
2025-04-23  7:53 ` [PATCH v2 09/28] ALSA: fm801: " Philipp Stanner
2025-04-23  7:53 ` [PATCH v2 10/28] ALSA: es19x8: " Philipp Stanner
2025-04-23  7:53 ` [PATCH v2 11/28] ALSA: azt3328: " Philipp Stanner
2025-04-23  7:53 ` [PATCH v2 12/28] ALSA: als: " Philipp Stanner
2025-04-23  7:53 ` [PATCH v2 13/28] ALSA: oxygen: " Philipp Stanner
2025-04-23  7:53 ` [PATCH v2 14/28] ALSA: lx6464es: " Philipp Stanner
2025-04-23  7:53 ` [PATCH v2 15/28] ALSA: vx222: " Philipp Stanner
2025-04-23  7:53 ` [PATCH v2 16/28] ALSA: trident: " Philipp Stanner
2025-04-23  7:53 ` [PATCH v2 17/28] ALSA: rme9652: " Philipp Stanner
2025-04-23  7:53 ` [PATCH v2 18/28] ALSA: ymfpci: " Philipp Stanner
2025-04-23  7:53 ` [PATCH v2 19/28] ALSA: riptide: " Philipp Stanner
2025-04-23  7:53 ` [PATCH v2 20/28] ALSA: nm256: " Philipp Stanner
2025-04-23  7:53 ` [PATCH v2 21/28] ALSA: ice: " Philipp Stanner
2025-04-23  7:53 ` [PATCH v2 22/28] ALSA: emu10k1: " Philipp Stanner
2025-04-23  7:53 ` [PATCH v2 23/28] ALSA: echoaudio: " Philipp Stanner
2025-04-23  7:53 ` [PATCH v2 24/28] ALSA: cs5535: " Philipp Stanner
2025-04-23  7:53 ` [PATCH v2 25/28] ALSA: cs46xx: " Philipp Stanner
2025-04-23  7:53 ` [PATCH v2 26/28] ALSA: ca0106: " Philipp Stanner
2025-04-23  7:53 ` [PATCH v2 27/28] ALSA: ali5451: " Philipp Stanner
2025-04-23  7:53 ` [PATCH v2 28/28] ALSA: maestro3: " Philipp Stanner
2025-04-24  7:23 ` [PATCH v2 00/28] ALSA: Phase out hybrid PCI devres API Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250423075346.45907-1-phasta@kernel.org \
    --to=phasta@kernel.org \
    --cc=andres.emb.sys@gmail.com \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=broonie@kernel.org \
    --cc=clemens@ladisch.de \
    --cc=colin.i.king@gmail.com \
    --cc=drhodes@opensource.cirrus.com \
    --cc=jayakumar.alsa@gmail.com \
    --cc=jbrunet@baylibre.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=liujing@cmss.chinamobile.com \
    --cc=mingo@kernel.org \
    --cc=oswald.buddenhagen@gmx.de \
    --cc=perex@perex.cz \
    --cc=tglx@linutronix.de \
    --cc=thorsten.blum@linux.dev \
    --cc=tiwai@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox