[PATCH 00/14] ASoC: rockchip: Simplify probe error handling
| Newsgroups | gmane.linux.sound,gmane.linux.ports.arm.rockchip,gmane.linux.kernel,gmane.linux.ports.arm.kernel |
|---|---|
| Message-ID | <[email protected]> |
From: bui duc phuc <[email protected]> Hi all, This series simplifies probe error handling across Rockchip ASoC drivers. It replaces open-coded error handling with dev_err_probe() where appropriate, removes redundant probe error messages, returns the original error code directly, and fixes handling of -EPROBE_DEFER returned by platform_get_irq_optional() in the Rockchip SAI driver and devm_pinctrl_get() in the Rockchip I2S driver. Compile tested only. Best regards, Phuc bui duc phuc (14): ASoC: rockchip: rk3288_hdmi_analog: Drop redundant probe error messages ASoC: rockchip: rk3288_hdmi_analog: Use dev_err_probe() for error handling ASoC: rockchip: rockchip_i2s: Use dev_err_probe() for error handling ASoC: rockchip: rockchip_i2s: Drop redundant probe error messages ASoC: rockchip: rockchip_i2s: Propagate -EPROBE_DEFER from devm_pinctrl_get() ASoC: rockchip: i2s-tdm: Inline PTR_ERR() in dev_err_probe() ASoC: rockchip: i2s-tdm: Drop redundant probe error messages ASoC: rockchip: rockchip_max98090: Drop redundant probe error messages ASoC: rockchip: rockchip_pdm: Drop redundant probe error messages ASoC: rockchip: rockchip_rt5645: Drop redundant probe error messages ASoC: rockchip: rockchip_sai: Propagate -EPROBE_DEFER from IRQ lookup ASoC: rockchip: rockchip_sai: Return the original error code ASoC: rockchip: rockchip_sai: Drop redundant probe error messages ASoC: rockchip: spdif: Return the original error code sound/soc/rockchip/rk3288_hdmi_analog.c | 16 +++++-------- sound/soc/rockchip/rockchip_i2s.c | 30 +++++++++++-------------- sound/soc/rockchip/rockchip_i2s_tdm.c | 15 ++++--------- sound/soc/rockchip/rockchip_max98090.c | 5 +---- sound/soc/rockchip/rockchip_pdm.c | 8 ++----- sound/soc/rockchip/rockchip_rt5645.c | 5 +---- sound/soc/rockchip/rockchip_sai.c | 15 +++++-------- sound/soc/rockchip/rockchip_spdif.c | 4 ++-- 8 files changed, 34 insertions(+), 64 deletions(-) -- 2.43.0