[PATCH 00/14] ASoC: rockchip: Simplify probe error handling

phucduc.bui@gmail.com posted 14 patches 1 month, 3 weeks ago
sound/soc/rockchip/rk3288_hdmi_analog.c | 16 +++++--------
sound/soc/rockchip/rockchip_i2s.c       | 30 +++++++++++--------------
sound/soc/rockchip/rockchip_i2s_tdm.c   | 15 ++++---------
sound/soc/rockchip/rockchip_max98090.c  |  5 +----
sound/soc/rockchip/rockchip_pdm.c       |  8 ++-----
sound/soc/rockchip/rockchip_rt5645.c    |  5 +----
sound/soc/rockchip/rockchip_sai.c       | 15 +++++--------
sound/soc/rockchip/rockchip_spdif.c     |  4 ++--
8 files changed, 34 insertions(+), 64 deletions(-)
[PATCH 00/14] ASoC: rockchip: Simplify probe error handling
Posted by phucduc.bui@gmail.com 1 month, 3 weeks ago
From: bui duc phuc <phucduc.bui@gmail.com>

Hi all,

This series simplifies probe error handling across Rockchip ASoC drivers.

It replaces open-coded error handling with dev_err_probe() where
appropriate, removes redundant probe error messages, returns the
original error code directly, and fixes handling of -EPROBE_DEFER 
returned by platform_get_irq_optional() in the Rockchip SAI driver 
and devm_pinctrl_get() in the Rockchip I2S driver.

Compile tested only.

Best regards,
Phuc

bui duc phuc (14):
  ASoC: rockchip: rk3288_hdmi_analog: Drop redundant probe error
    messages
  ASoC: rockchip: rk3288_hdmi_analog: Use dev_err_probe() for error
    handling
  ASoC: rockchip: rockchip_i2s: Use dev_err_probe() for error handling
  ASoC: rockchip: rockchip_i2s: Drop redundant probe error messages
  ASoC: rockchip: rockchip_i2s: Propagate -EPROBE_DEFER from
    devm_pinctrl_get()
  ASoC: rockchip: i2s-tdm: Inline PTR_ERR() in dev_err_probe()
  ASoC: rockchip: i2s-tdm: Drop redundant probe error messages
  ASoC: rockchip: rockchip_max98090: Drop redundant probe error messages
  ASoC: rockchip: rockchip_pdm: Drop redundant probe error messages
  ASoC: rockchip: rockchip_rt5645: Drop redundant probe error messages
  ASoC: rockchip: rockchip_sai: Propagate -EPROBE_DEFER from IRQ lookup
  ASoC: rockchip: rockchip_sai: Return the original error code
  ASoC: rockchip: rockchip_sai: Drop redundant probe error messages
  ASoC: rockchip: spdif: Return the original error code

 sound/soc/rockchip/rk3288_hdmi_analog.c | 16 +++++--------
 sound/soc/rockchip/rockchip_i2s.c       | 30 +++++++++++--------------
 sound/soc/rockchip/rockchip_i2s_tdm.c   | 15 ++++---------
 sound/soc/rockchip/rockchip_max98090.c  |  5 +----
 sound/soc/rockchip/rockchip_pdm.c       |  8 ++-----
 sound/soc/rockchip/rockchip_rt5645.c    |  5 +----
 sound/soc/rockchip/rockchip_sai.c       | 15 +++++--------
 sound/soc/rockchip/rockchip_spdif.c     |  4 ++--
 8 files changed, 34 insertions(+), 64 deletions(-)

-- 
2.43.0
Re: [PATCH 00/14] ASoC: rockchip: Simplify probe error handling
Posted by Mark Brown 1 month, 2 weeks ago
On Thu, 06 Aug 2026 12:21:22 +0700, phucduc.bui@gmail.com wrote:
> ASoC: rockchip: Simplify probe error handling
> 
> From: bui duc phuc <phucduc.bui@gmail.com>
> 
> Hi all,
> 
> This series simplifies probe error handling across Rockchip ASoC drivers.
> 
> [...]

Applied to

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

Thanks!

[01/14] ASoC: rockchip: rk3288_hdmi_analog: Drop redundant probe error messages
        https://git.kernel.org/broonie/sound/c/931f4a1223e1
[02/14] ASoC: rockchip: rk3288_hdmi_analog: Use dev_err_probe() for error handling
        https://git.kernel.org/broonie/sound/c/06f5854050f5
[03/14] ASoC: rockchip: rockchip_i2s: Use dev_err_probe() for error handling
        https://git.kernel.org/broonie/sound/c/b5e4b1159743
[04/14] ASoC: rockchip: rockchip_i2s: Drop redundant probe error messages
        https://git.kernel.org/broonie/sound/c/c1bf7ae0c87a
[05/14] ASoC: rockchip: rockchip_i2s: Propagate -EPROBE_DEFER from devm_pinctrl_get()
        https://git.kernel.org/broonie/sound/c/be4f82d15235
[06/14] ASoC: rockchip: i2s-tdm: Inline PTR_ERR() in dev_err_probe()
        https://git.kernel.org/broonie/sound/c/334d5ea7582b
[07/14] ASoC: rockchip: i2s-tdm: Drop redundant probe error messages
        https://git.kernel.org/broonie/sound/c/9fea4805ed95
[08/14] ASoC: rockchip: rockchip_max98090: Drop redundant probe error messages
        https://git.kernel.org/broonie/sound/c/de983524dcbe
[09/14] ASoC: rockchip: rockchip_pdm: Drop redundant probe error messages
        https://git.kernel.org/broonie/sound/c/7d3f7eb890f1
[10/14] ASoC: rockchip: rockchip_rt5645: Drop redundant probe error messages
        https://git.kernel.org/broonie/sound/c/b300f1313b00
[11/14] ASoC: rockchip: rockchip_sai: Propagate -EPROBE_DEFER from IRQ lookup
        https://git.kernel.org/broonie/sound/c/c97bdbf862c6
[12/14] ASoC: rockchip: rockchip_sai: Return the original error code
        https://git.kernel.org/broonie/sound/c/7a2229ef7cdb
[13/14] ASoC: rockchip: rockchip_sai: Drop redundant probe error messages
        https://git.kernel.org/broonie/sound/c/26c9632c33f7
[14/14] ASoC: rockchip: spdif: Return the original error code
        https://git.kernel.org/broonie/sound/c/5784ef446847

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