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

phucduc.bui@gmail.com posted 6 patches 1 week, 3 days ago
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(-)
[PATCH 0/6] ASoC: sunxi: Simplify error handling
Posted by phucduc.bui@gmail.com 1 week, 3 days ago
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(-)

-- 
2.43.0