Linux Sound subsystem development
 help / color / mirror / Atom feed
* [PATCH 0/9] ALSA: seq: Use bus specific probe and remove
@ 2025-12-02 12:35 Uwe Kleine-König
  2025-12-02 12:35 ` [PATCH 1/9] " Uwe Kleine-König
                   ` (9 more replies)
  0 siblings, 10 replies; 14+ messages in thread
From: Uwe Kleine-König @ 2025-12-02 12:35 UTC (permalink / raw)
  To: Jaroslav Kysela, Takashi Iwai, Clemens Ladisch
  Cc: Greg Kroah-Hartman, linux-sound

Hello,

for the quest to drop .probe(), .remove() and .shutdown() from struct
device_driver, this patch set converts all seq drivers to use bus type
callbacks.

The dependencies here are:
 - patches #2 - #8 depend (only) on patch #1
 - patch #9 depends on #1 - #8
but I guess this series will go in in a single go and there is no need
to coordinate merging.

This series is compile tested only, as I have no access to seq devices.
Still I'm reasonably sure that there is no user-visible effect when this
series is applied. (There is a runtime warning introduced by patch #1
that goes away with patches #2-#8 again. So future bisections suffer a
tiny bit.)

Best regards
Uwe

Uwe Kleine-König (9):
  ALSA: seq: Use bus specific probe and remove
  ALSA: seq: midi: Convert to snd_seq bus probe mechanism
  ALSA: seq: ump: Convert to snd_seq bus probe mechanism
  ALSA: opl3: Convert to snd_seq bus probe mechanism
  ALSA: opl4: Convert to snd_seq bus probe mechanism
  ALSA: sb: Convert to snd_seq bus probe mechanism
  ALSA: emu10k1: Convert to snd_seq bus probe mechanism
  ALSA: seq: oss: Convert to snd_seq bus probe mechanism
  ALSA: seq: Refuse to probe seq drivers with non-bus probe or remove

 include/sound/seq_device.h         |  2 ++
 sound/core/seq/oss/seq_oss.c       |  4 ++--
 sound/core/seq/oss/seq_oss_synth.c | 12 ++++--------
 sound/core/seq/oss/seq_oss_synth.h |  4 ++--
 sound/core/seq/seq_midi.c          | 15 ++++++---------
 sound/core/seq/seq_ump_client.c    | 11 ++++-------
 sound/core/seq_device.c            | 26 +++++++++++++++++++++++++-
 sound/drivers/opl3/opl3_seq.c      | 13 +++++--------
 sound/drivers/opl4/opl4_seq.c      | 10 ++++------
 sound/isa/sb/emu8000_synth.c       | 13 +++++--------
 sound/pci/emu10k1/emu10k1_synth.c  | 13 +++++--------
 11 files changed, 64 insertions(+), 59 deletions(-)


base-commit: 7d0a66e4bb9081d75c82ec4957c50034cb0ea449
-- 
2.47.3


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2025-12-03 13:51 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-02 12:35 [PATCH 0/9] ALSA: seq: Use bus specific probe and remove Uwe Kleine-König
2025-12-02 12:35 ` [PATCH 1/9] " Uwe Kleine-König
2025-12-02 12:35 ` [PATCH 2/9] ALSA: seq: midi: Convert to snd_seq bus probe mechanism Uwe Kleine-König
2025-12-02 12:35 ` [PATCH 3/9] ALSA: seq: ump: " Uwe Kleine-König
2025-12-02 12:35 ` [PATCH 4/9] ALSA: opl3: " Uwe Kleine-König
2025-12-02 12:35 ` [PATCH 5/9] ALSA: opl4: " Uwe Kleine-König
2025-12-03 13:46   ` Uwe Kleine-König
2025-12-03 13:51     ` Takashi Iwai
2025-12-02 12:35 ` [PATCH 6/9] ALSA: sb: " Uwe Kleine-König
2025-12-02 12:35 ` [PATCH 7/9] ALSA: emu10k1: " Uwe Kleine-König
2025-12-02 12:35 ` [PATCH 8/9] ALSA: seq: oss: " Uwe Kleine-König
2025-12-02 12:35 ` [PATCH 9/9] ALSA: seq: Refuse to probe seq drivers with non-bus probe or remove Uwe Kleine-König
2025-12-02 14:17 ` [PATCH 0/9] ALSA: seq: Use bus specific probe and remove Takashi Iwai
2025-12-02 16:12   ` Uwe Kleine-König

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox