Linux Sound subsystem development
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Mark Brown <broonie@kernel.org>
Cc: linux-sound@vger.kernel.org, "Baojun Xu" <baojun.xu@ti.com>,
	"Bard Liao" <yung-chuan.liao@linux.intel.com>,
	"Cezary Rojewski" <cezary.rojewski@intel.com>,
	"Charles Keepax" <ckeepax@opensource.cirrus.com>,
	"Daniel Baluta" <daniel.baluta@nxp.com>,
	"Fabio Estevam" <festevam@gmail.com>,
	"Herve Codina" <herve.codina@bootlin.com>,
	"Kevin Lu" <kevin-lu@ti.com>,
	"Kiseok Jo" <kiseok.jo@irondevice.com>,
	"Lars-Peter Clausen" <lars@metafoo.de>,
	"Liam Girdwood" <lgirdwood@gmail.com>,
	"Maciej Strozek" <mstrozek@opensource.cirrus.com>,
	"Nick Li" <nick.li@foursemi.com>,
	"Nicolin Chen" <nicoleotsuka@gmail.com>,
	"Nuno Sá" <nuno.sa@analog.com>,
	"Oder Chiou" <oder_chiou@realtek.com>,
	"Peter Ujfalusi" <peter.ujfalusi@linux.intel.com>,
	"Pierre-Louis Bossart" <pierre-louis.bossart@linux.dev>,
	"Sen Wang" <sen@ti.com>, "Shenghao Ding" <shenghao-ding@ti.com>,
	"Shengjiu Wang" <shengjiu.wang@gmail.com>,
	"Srinivas Kandagatla" <srini@kernel.org>,
	"Vijendar Mukunda" <Vijendar.Mukunda@amd.com>,
	"Xiubo Li" <Xiubo.Lee@gmail.com>
Subject: [PATCH 00/31] ASoC: Use auto-cleanup for firmware loading
Date: Wed,  5 Aug 2026 15:52:01 +0200	[thread overview]
Message-ID: <20260805135247.670693-1-tiwai@suse.de> (raw)

Hi,

here is a series of trivial patches to use the auto-cleanup (via
__free(firmware)) for firmware management.
All simple cleanups to reduce the manual calls of release_firmware().

Only code refactoring and no behavior changes intended.

Targeted for 7.3 or later.


thanks,

Takashi

===

Takashi Iwai (31):
  ASoC: aw87390: Use auto-cleanup for firmware loading
  ASoC: aw88081: Use auto-cleanup for firmware loading
  ASoC: aw88166: Use auto-cleanup for firmware loading
  ASoC: aw88261: Use auto-cleanup for firmware loading
  ASoC: aw88395: Use auto-cleanup for firmware loading
  ASoC: aw88399: Use auto-cleanup for firmware loading
  ASoC: fs-amp-lib: Use auto-cleanup for firmware loading
  ASoC: hdac_hda: Use auto-cleanup for firmware loading
  ASoC: max98390: Use auto-cleanup for firmware loading
  ASoC: ntpfw: Use auto-cleanup for firmware loading
  ASoC: pcm6240: Use auto-cleanup for firmware loading
  ASoC: peb2466: Use auto-cleanup for firmware loading
  ASoC: rt1320-sdw: Use auto-cleanup for firmware loading
  ASoC: rt5575: Use auto-cleanup for firmware loading
  ASoC: rt5677: Use auto-cleanup for firmware loading
  ASoC: rt722-sdca: Use auto-cleanup for firmware loading
  ASoC: sigmadsp: se auto-cleanup for firmware loading
  ASoC: sma1307: Use auto-cleanup for firmware loading
  ASoC: tas2781: Use auto-cleanup for firmware loading
  ASoC: tas5805m: Use auto-cleanup for firmware loading
  ASoC: tlv320aic31xx: Use auto-cleanup for firmware loading
  ASoC: wm0010: Use auto-cleanup for firmware loading
  ASoC: wm2000: Use auto-cleanup for firmware loading
  ASoC: zl38060: Use auto-cleanup for firmware loading
  ASoC: fsl: Use auto-cleanup for firmware loading
  ASoC: Intel: avs: Use auto-cleanup for firmware loading
  ASoC: Intel: catpt: Use auto-cleanup for firmware loading
  ASoC: qcom: Use auto-cleanup for firmware loading
  ASoC: renesas: Use auto-cleanup for firmware loading
  ASoC: SDCA: Use auto-cleanup for firmware loading
  ASoC: SOF: Use auto-cleanup for firmware loading

 sound/soc/codecs/aw87390.c         |  7 ++--
 sound/soc/codecs/aw88081.c         |  9 ++---
 sound/soc/codecs/aw88166.c         |  8 ++---
 sound/soc/codecs/aw88261.c         |  8 ++---
 sound/soc/codecs/aw88395/aw88395.c |  8 ++---
 sound/soc/codecs/aw88399-lib.c     |  8 ++---
 sound/soc/codecs/fs-amp-lib.c      |  3 +-
 sound/soc/codecs/hdac_hda.c        |  3 +-
 sound/soc/codecs/max98390.c        | 16 ++++-----
 sound/soc/codecs/ntpfw.c           | 21 ++++-------
 sound/soc/codecs/pcm6240.c         | 16 ++++-----
 sound/soc/codecs/peb2466.c         |  7 ++--
 sound/soc/codecs/rt1320-sdw.c      | 17 +++------
 sound/soc/codecs/rt5575-spi.c      |  3 +-
 sound/soc/codecs/rt5677.c          |  8 ++---
 sound/soc/codecs/rt722-sdca.c      |  9 ++---
 sound/soc/codecs/sigmadsp.c        | 13 +++----
 sound/soc/codecs/sma1307.c         |  6 +---
 sound/soc/codecs/tas2781-fmwlib.c  | 45 ++++++++---------------
 sound/soc/codecs/tas5805m.c        |  9 ++---
 sound/soc/codecs/tlv320aic31xx.c   |  8 ++---
 sound/soc/codecs/wm0010.c          | 58 +++++++++++-------------------
 sound/soc/codecs/wm2000.c          |  7 ++--
 sound/soc/codecs/zl38060.c         | 11 +++---
 sound/soc/fsl/fsl_xcvr.c           | 10 ++----
 sound/soc/intel/avs/topology.c     |  3 +-
 sound/soc/intel/catpt/loader.c     | 15 +++-----
 sound/soc/qcom/qdsp6/topology.c    |  4 +--
 sound/soc/renesas/siu_dai.c        |  4 +--
 sound/soc/sdca/sdca_fdl.c          |  8 ++---
 sound/soc/sof/fw-file-profile.c    | 19 ++++------
 sound/soc/sof/topology.c           | 20 ++++-------
 32 files changed, 129 insertions(+), 262 deletions(-)

-- 
2.55.0


             reply	other threads:[~2026-08-05 13:53 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-05 13:52 Takashi Iwai [this message]
2026-08-05 13:52 ` [PATCH 01/31] ASoC: aw87390: Use auto-cleanup for firmware loading Takashi Iwai
2026-08-05 13:52 ` [PATCH 02/31] ASoC: aw88081: " Takashi Iwai
2026-08-05 13:52 ` [PATCH 03/31] ASoC: aw88166: " Takashi Iwai
2026-08-05 13:52 ` [PATCH 04/31] ASoC: aw88261: " Takashi Iwai
2026-08-05 13:52 ` [PATCH 05/31] ASoC: aw88395: " Takashi Iwai
2026-08-05 13:52 ` [PATCH 06/31] ASoC: aw88399: " Takashi Iwai
2026-08-05 13:52 ` [PATCH 07/31] ASoC: fs-amp-lib: " Takashi Iwai
2026-08-05 13:52 ` [PATCH 08/31] ASoC: hdac_hda: " Takashi Iwai
2026-08-05 13:52 ` [PATCH 09/31] ASoC: max98390: " Takashi Iwai
2026-08-05 13:52 ` [PATCH 10/31] ASoC: ntpfw: " Takashi Iwai
2026-08-05 13:52 ` [PATCH 11/31] ASoC: pcm6240: " Takashi Iwai
2026-08-05 16:47   ` Herve Codina
2026-08-06  6:16     ` Takashi Iwai
2026-08-05 13:52 ` [PATCH 12/31] ASoC: peb2466: " Takashi Iwai
2026-08-05 16:50   ` Herve Codina
2026-08-05 13:52 ` [PATCH 13/31] ASoC: rt1320-sdw: " Takashi Iwai
2026-08-05 22:56   ` Mark Brown
2026-08-06  7:37     ` Takashi Iwai
2026-08-06 11:52       ` Mark Brown
2026-08-06 13:48         ` Takashi Iwai
2026-08-05 13:52 ` [PATCH 14/31] ASoC: rt5575: " Takashi Iwai
2026-08-05 13:52 ` [PATCH 15/31] ASoC: rt5677: " Takashi Iwai
2026-08-05 13:52 ` [PATCH 16/31] ASoC: rt722-sdca: " Takashi Iwai
2026-08-05 13:52 ` [PATCH 17/31] ASoC: sigmadsp: se " Takashi Iwai
2026-08-05 16:08   ` Nuno Sá
2026-08-05 13:52 ` [PATCH 18/31] ASoC: sma1307: Use " Takashi Iwai
2026-08-05 13:52 ` [PATCH 19/31] ASoC: tas2781: " Takashi Iwai
2026-08-05 13:52 ` [PATCH 20/31] ASoC: tas5805m: " Takashi Iwai
2026-08-05 13:52 ` [PATCH 21/31] ASoC: tlv320aic31xx: " Takashi Iwai
2026-08-05 13:52 ` [PATCH 22/31] ASoC: wm0010: " Takashi Iwai
2026-08-05 13:52 ` [PATCH 23/31] ASoC: wm2000: " Takashi Iwai
2026-08-05 23:16   ` Mark Brown
2026-08-06  7:38     ` Takashi Iwai
2026-08-05 13:52 ` [PATCH 24/31] ASoC: zl38060: " Takashi Iwai
2026-08-05 13:52 ` [PATCH 25/31] ASoC: fsl: " Takashi Iwai
2026-08-05 13:52 ` [PATCH 26/31] ASoC: Intel: avs: " Takashi Iwai
2026-08-05 14:48   ` Cezary Rojewski
2026-08-05 13:52 ` [PATCH 27/31] ASoC: Intel: catpt: " Takashi Iwai
2026-08-05 14:48   ` Cezary Rojewski
2026-08-05 13:52 ` [PATCH 28/31] ASoC: qcom: " Takashi Iwai
2026-08-05 13:52 ` [PATCH 29/31] ASoC: renesas: " Takashi Iwai
2026-08-05 13:52 ` [PATCH 30/31] ASoC: SDCA: " Takashi Iwai
2026-08-05 14:34   ` Charles Keepax
2026-08-05 13:52 ` [PATCH 31/31] ASoC: SOF: " Takashi Iwai
2026-08-06 11:56   ` Péter Ujfalusi
2026-08-06 12:06     ` Takashi Iwai
2026-08-06 13:04       ` Péter Ujfalusi
2026-08-06 13:18         ` 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=20260805135247.670693-1-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=Vijendar.Mukunda@amd.com \
    --cc=Xiubo.Lee@gmail.com \
    --cc=baojun.xu@ti.com \
    --cc=broonie@kernel.org \
    --cc=cezary.rojewski@intel.com \
    --cc=ckeepax@opensource.cirrus.com \
    --cc=daniel.baluta@nxp.com \
    --cc=festevam@gmail.com \
    --cc=herve.codina@bootlin.com \
    --cc=kevin-lu@ti.com \
    --cc=kiseok.jo@irondevice.com \
    --cc=lars@metafoo.de \
    --cc=lgirdwood@gmail.com \
    --cc=linux-sound@vger.kernel.org \
    --cc=mstrozek@opensource.cirrus.com \
    --cc=nick.li@foursemi.com \
    --cc=nicoleotsuka@gmail.com \
    --cc=nuno.sa@analog.com \
    --cc=oder_chiou@realtek.com \
    --cc=peter.ujfalusi@linux.intel.com \
    --cc=pierre-louis.bossart@linux.dev \
    --cc=sen@ti.com \
    --cc=shenghao-ding@ti.com \
    --cc=shengjiu.wang@gmail.com \
    --cc=srini@kernel.org \
    --cc=yung-chuan.liao@linux.intel.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