ASoC: tegra: Simplify error handling
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | ASoC: tegra: tegra20_das: Use dev_err_probe() for error handlingsound/ | +3 | 1 reply | |
| 2/4 | ASoC: tegra: tegra210_adx: Return the original error directlysound/ | +4 | 1 reply | |
| 3/4 | ASoC: tegra: tegra210_amx: Return the original error directlysound/ | +4 | 1 reply | |
| 4/4 | ASoC: tegra: tegra210: Use devm_clk_get_optional() for sync_input clocksound/ | +5 | 1 reply |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Thierry Reding |
|---|---|
| 1/4 | R-b |
| 2/4 | R-b |
| 3/4 | R-b |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] ASoC: tegra: Simplify error handling
From: bui duc phuc <[email protected]>
Hi all,
This series contains a few small cleanups for the Tegra ASoC drivers.
- Use dev_err_probe() for regmap initialization failures.
- Return the original error from snd_soc_add_component_controls().
- Use devm_clk_get_optional() for the optional sync_input clock.
Overall, this simplifies the error paths and makes the code more consistent.
Best regards,
Phuc
bui duc phuc (4):
ASoC: tegra: tegra20_das: Use dev_err_probe() for error handling
ASoC: tegra: tegra210_adx: Return the original error directly
ASoC: tegra: tegra210_amx: Return the original error directly
ASoC: tegra: tegra210: Use devm_clk_get_optional() for sync_input
clock
sound/soc/tegra/tegra20_das.c | 7 +++---- sound/soc/tegra/tegra210_adx.c | 12 ++++-------- sound/soc/tegra/tegra210_amx.c | 12 ++++-------- sound/soc/tegra/tegra210_i2s.c | 10 +++++----- 4 files changed, 16 insertions(+), 25 deletions(-)
Signature · 1 line
2.43.0