ASoC: sunxi: Simplify error handling
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | ASoC: sunxi: sun4i-codec: Use dev_err_probe() for probe error handlingsound/ | +28 | 1 reply | |
| 2/6 | ASoC: sunxi: sun4i-codec: Drop redundant error messagessound/ | +5 | 3 replies | |
| 3/6 | ASoC: sunxi: sun4i-i2s: Use dev_err_probe() for probe error handlingsound/ | +12 | 1 reply | |
| 4/6 | ASoC: sunxi: sun4i-spdif: Use dev_err_probe() for probe error handlingsound/ | +10 | 1 reply | |
| 5/6 | ASoC: sunxi: sun50i-codec-analog: Improve probe error handlingsound/ | +4 | 1 reply | |
| 6/6 | ASoC: sunxi: sun8i-codec-analog: Improve probe error handlingsound/ | +4 | 1 reply |
Reviews trailers per patch
5 of 6 patches have a Reviewed-by or Acked-by.
| Patch | Chen-Yu Tsai |
|---|---|
| 1/6 | R-b |
| 2/6 | |
| 3/6 | R-b |
| 4/6 | R-b |
| 5/6 | R-b |
| 6/6 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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