[PATCH 0/4] ASoC: tegra: Simplify error handling
| Newsgroups | org.kernel.vger.linux-tegra,org.kernel.vger.linux-kernel,org.kernel.vger.linux-sound |
|---|---|
| Message-ID | <[email protected]> |
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(-) -- 2.43.0