[0/6] ASoC: sunxi: Simplify error handling

Message ID 20260715095525.40668-1-phucduc.bui@gmail.com (mailing list archive)
Headers
Series ASoC: sunxi: Simplify error handling |

Message

Bui Duc Phuc July 15, 2026, 9:55 a.m. UTC
From: bui duc phuc <phucduc.bui@gmail.com>

Hi all,

This series improves probe error handling in the sunxi ASoC drivers.
It replaces suitable probe error paths with dev_err_probe() to
simplify the code and handle deferred probe errors consistently.
It also removes redundant error messages where the called helpers
already report failures, avoiding duplicate log messages.

Build tested only.

Besst regards,
Phuc

bui duc phuc (6):
  ASoC: sunxi: sun4i-codec: Use dev_err_probe() for probe error handling
  ASoC: sunxi: sun4i-codec: Drop redundant error messages
  ASoC: sunxi: sun4i-i2s: Use dev_err_probe() for probe error handling
  ASoC: sunxi: sun4i-spdif: Use dev_err_probe() for probe error handling
  ASoC: sunxi: sun50i-codec-analog: Improve probe error handling
  ASoC: sunxi: sun8i-codec-analog: Improve probe error handling

 sound/soc/sunxi/sun4i-codec.c         | 89 ++++++++++-----------------
 sound/soc/sunxi/sun4i-i2s.c           | 28 ++++-----
 sound/soc/sunxi/sun4i-spdif.c         | 23 +++----
 sound/soc/sunxi/sun50i-codec-analog.c | 11 ++--
 sound/soc/sunxi/sun8i-codec-analog.c  | 11 ++--
 5 files changed, 63 insertions(+), 99 deletions(-)
  

Comments

Mark Brown July 29, 2026, 2:31 p.m. UTC | #1
On Wed, 15 Jul 2026 16:55:19 +0700, phucduc.bui@gmail.com wrote:
> ASoC: sunxi: Simplify error handling
> 
> From: bui duc phuc <phucduc.bui@gmail.com>
> 
> Hi all,
> 
> This series improves probe error handling in the sunxi ASoC drivers.
> It replaces suitable probe error paths with dev_err_probe() to
> simplify the code and handle deferred probe errors consistently.
> It also removes redundant error messages where the called helpers
> already report failures, avoiding duplicate log messages.
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-7.3

Thanks!

[1/6] ASoC: sunxi: sun4i-codec: Use dev_err_probe() for probe error handling
      https://git.kernel.org/broonie/sound/c/a8023598f3ae
[2/6] ASoC: sunxi: sun4i-codec: Drop redundant error messages
      https://git.kernel.org/broonie/sound/c/de6bda2088e4
[3/6] ASoC: sunxi: sun4i-i2s: Use dev_err_probe() for probe error handling
      https://git.kernel.org/broonie/sound/c/3e2262df8460
[4/6] ASoC: sunxi: sun4i-spdif: Use dev_err_probe() for probe error handling
      https://git.kernel.org/broonie/sound/c/ac95bdb98246
[5/6] ASoC: sunxi: sun50i-codec-analog: Improve probe error handling
      https://git.kernel.org/broonie/sound/c/76a770c30bcd
[6/6] ASoC: sunxi: sun8i-codec-analog: Improve probe error handling
      https://git.kernel.org/broonie/sound/c/bb0d825c8ad9

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark