Skip to content

ASoC: sunxi: Simplify error handling

[email protected] linux-arm-kernel linux-sound linux-sunxi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6ASoC: sunxi: sun4i-codec: Use dev_err_probe() for probe error handlingsound/soc/sunxi/sun4i-codec.c+28 -421 reply
2/6ASoC: sunxi: sun4i-codec: Drop redundant error messagessound/soc/sunxi/sun4i-codec.c+5 -143 replies
3/6ASoC: sunxi: sun4i-i2s: Use dev_err_probe() for probe error handlingsound/soc/sunxi/sun4i-i2s.c+12 -161 reply
4/6ASoC: sunxi: sun4i-spdif: Use dev_err_probe() for probe error handlingsound/soc/sunxi/sun4i-spdif.c+10 -131 reply
5/6ASoC: sunxi: sun50i-codec-analog: Improve probe error handlingsound/soc/sunxi/sun50i-codec-analog.c+4 -71 reply
6/6ASoC: sunxi: sun8i-codec-analog: Improve probe error handlingsound/soc/sunxi/sun8i-codec-analog.c+4 -71 reply

Reviews trailers per patch

5 of 6 patches have a Reviewed-by or Acked-by.

PatchChen-Yu Tsai
1/6R-b
2/6
3/6R-b
4/6R-b
5/6R-b
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

From: bui duc phuc <[email protected]>

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(-)
Signature · 1 line
2.43.0