mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: linux-sound@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH 00/32] ALSA: Use auto-cleanup for probe card error handling
Date: Thu,  1 Oct 2026 13:03:40 +0200	[thread overview]
Message-ID: <20261001110447.486782-1-tiwai@suse.de> (raw)

here is a series of trivial changes as a cleanup.

So far, many sound drivers use the manual call of
snd_card_free_on_error() helper in order to deal with the errors at
probe time.  This can be gracefully done via auto-cleanup, and here
are the conversions.

Only code refactoring, and no functional changes are expected.


Takashi

===

Takashi Iwai (32):
  ALSA: galaxy: Use auto-cleanup for probe card error handling
  ALSA: sc6000: Use auto-cleanup for probe card error handling
  ALSA: ad1889: Use auto-cleanup for probe card error handling
  ALSA: ali5451: Use auto-cleanup for probe card error handling
  ALSA: als4000: Use auto-cleanup for probe card error handling
  ALSA: atiixp: Use auto-cleanup for probe card error handling
  ALSA: au88x0: Use auto-cleanup for probe card error handling
  ALSA: azt3328: Use auto-cleanup for probe card error handling
  ALSA: bt87x: Use auto-cleanup for probe card error handling
  ALSA: ca0106: Use auto-cleanup for probe card error handling
  ALSA: cs4281: Use auto-cleanup for probe card error handling
  ALSA: cs5535audio: Use auto-cleanup for probe card error handling
  ALSA: echoaudio: Use auto-cleanup for probe card error handling
  ALSA: emu10k1x: Use auto-cleanup for probe card error handling
  ALSA: ens137x: Use auto-cleanup for probe card error handling
  ALSA: es1938: Use auto-cleanup for probe card error handling
  ALSA: es1968: Use auto-cleanup for probe card error handling
  ALSA: fm801: Use auto-cleanup for probe card error handling
  ALSA: ice1724: Use auto-cleanup for probe card error handling
  ALSA: intel8x0: Use auto-cleanup for probe card error handling
  ALSA: lola: Use auto-cleanup for probe card error handling
  ALSA: maestro3: Use auto-cleanup for probe card error handling
  ALSA: oxygen: Use auto-cleanup for probe card error handling
  ALSA: riptide: Use auto-cleanup for probe card error handling
  ALSA: rme32: Use auto-cleanup for probe card error handling
  ALSA: rm96: Use auto-cleanup for probe card error handling
  ALSA: sis7019: Use auto-cleanup for probe card error handling
  ALSA: sonicbibes: Use auto-cleanup for probe card error handling
  ALSA: via82xx: Use auto-cleanup for probe card error handling
  ALSA: ymfpci: Use auto-cleanup for probe card error handling
  ALSA: intel-hdmi-audio: Use auto-cleanup for probe card error handling
  ALSA: Drop unused snd_card_free_on_error()

 include/sound/core.h                |  1 -
 sound/core/init.c                   | 36 ++++++-----------------------
 sound/isa/galaxy/galaxy.c           | 10 +++-----
 sound/isa/sc6000.c                  | 10 +++-----
 sound/pci/ad1889.c                  | 13 ++++-------
 sound/pci/ali5451/ali5451.c         | 13 ++++-------
 sound/pci/als4000.c                 | 13 ++++-------
 sound/pci/atiixp.c                  | 13 ++++-------
 sound/pci/atiixp_modem.c            | 13 ++++-------
 sound/pci/au88x0/au88x0.c           | 11 +++------
 sound/pci/azt3328.c                 | 11 +++------
 sound/pci/bt87x.c                   | 13 ++++-------
 sound/pci/ca0106/ca0106_main.c      | 11 +++------
 sound/pci/cs4281.c                  | 13 ++++-------
 sound/pci/cs5535audio/cs5535audio.c | 13 ++++-------
 sound/pci/echoaudio/echoaudio.c     | 14 ++++-------
 sound/pci/emu10k1/emu10k1x.c        | 13 ++++-------
 sound/pci/ens1370.c                 | 13 ++++-------
 sound/pci/es1938.c                  | 13 ++++-------
 sound/pci/es1968.c                  | 13 ++++-------
 sound/pci/fm801.c                   | 13 ++++-------
 sound/pci/ice1712/ice1724.c         | 13 ++++-------
 sound/pci/intel8x0.c                | 14 ++++-------
 sound/pci/intel8x0m.c               | 13 ++++-------
 sound/pci/lola/lola.c               | 13 ++++-------
 sound/pci/maestro3.c                | 11 +++------
 sound/pci/oxygen/oxygen_lib.c       | 15 +++---------
 sound/pci/riptide/riptide.c         | 11 +++------
 sound/pci/rme32.c                   | 11 +++------
 sound/pci/rme96.c                   | 13 ++++-------
 sound/pci/sis7019.c                 | 13 ++++-------
 sound/pci/sonicvibes.c              | 13 ++++-------
 sound/pci/via82xx.c                 | 13 ++++-------
 sound/pci/via82xx_modem.c           | 13 ++++-------
 sound/pci/ymfpci/ymfpci.c           | 13 ++++-------
 sound/x86/intel_hdmi_audio.c        | 10 +++-----
 36 files changed, 134 insertions(+), 328 deletions(-)

-- 
2.55.0


             reply	other threads:[~2026-10-01 11:05 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-01 11:03 Takashi Iwai [this message]
2026-10-01 11:03 ` [PATCH 01/32] ALSA: galaxy: " Takashi Iwai
2026-10-01 11:03 ` [PATCH 02/32] ALSA: sc6000: " Takashi Iwai
2026-10-01 11:03 ` [PATCH 03/32] ALSA: ad1889: " Takashi Iwai
2026-10-01 11:03 ` [PATCH 04/32] ALSA: ali5451: " Takashi Iwai
2026-10-01 11:03 ` [PATCH 05/32] ALSA: als4000: " Takashi Iwai
2026-10-01 11:03 ` [PATCH 06/32] ALSA: atiixp: " Takashi Iwai
2026-10-01 11:03 ` [PATCH 07/32] ALSA: au88x0: " Takashi Iwai
2026-10-01 11:03 ` [PATCH 08/32] ALSA: azt3328: " Takashi Iwai
2026-10-01 11:03 ` [PATCH 09/32] ALSA: bt87x: " Takashi Iwai
2026-10-01 11:03 ` [PATCH 10/32] ALSA: ca0106: " Takashi Iwai
2026-10-01 11:03 ` [PATCH 11/32] ALSA: cs4281: " Takashi Iwai
2026-10-01 11:03 ` [PATCH 12/32] ALSA: cs5535audio: " Takashi Iwai
2026-10-01 11:03 ` [PATCH 13/32] ALSA: echoaudio: " Takashi Iwai
2026-10-01 11:03 ` [PATCH 14/32] ALSA: emu10k1x: " Takashi Iwai
2026-10-01 11:03 ` [PATCH 15/32] ALSA: ens137x: " Takashi Iwai
2026-10-01 11:03 ` [PATCH 16/32] ALSA: es1938: " Takashi Iwai
2026-10-01 11:03 ` [PATCH 17/32] ALSA: es1968: " Takashi Iwai
2026-10-01 11:03 ` [PATCH 18/32] ALSA: fm801: " Takashi Iwai
2026-10-01 11:03 ` [PATCH 19/32] ALSA: ice1724: " Takashi Iwai
2026-10-01 11:04 ` [PATCH 20/32] ALSA: intel8x0: " Takashi Iwai
2026-10-01 11:04 ` [PATCH 21/32] ALSA: lola: " Takashi Iwai
2026-10-01 11:04 ` [PATCH 22/32] ALSA: maestro3: " Takashi Iwai
2026-10-01 11:04 ` [PATCH 23/32] ALSA: oxygen: " Takashi Iwai
2026-10-01 11:04 ` [PATCH 24/32] ALSA: riptide: " Takashi Iwai
2026-10-01 11:04 ` [PATCH 25/32] ALSA: rme32: " Takashi Iwai
2026-10-01 11:04 ` [PATCH 26/32] ALSA: rm96: " Takashi Iwai
2026-10-01 11:04 ` [PATCH 27/32] ALSA: sis7019: " Takashi Iwai
2026-10-01 11:04 ` [PATCH 28/32] ALSA: sonicbibes: " Takashi Iwai
2026-10-01 11:04 ` [PATCH 29/32] ALSA: via82xx: " Takashi Iwai
2026-10-01 11:04 ` [PATCH 30/32] ALSA: ymfpci: " Takashi Iwai
2026-10-01 11:04 ` [PATCH 31/32] ALSA: intel-hdmi-audio: " Takashi Iwai
2026-10-01 11:04 ` [PATCH 32/32] ALSA: Drop unused snd_card_free_on_error() 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=20261001110447.486782-1-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®