linux/sound/soc/xtensa
bui duc phuc 92aa9c7b1d
ASoC: xtensa: Use dev_err_probe() and drop redundant error handling
Convert error paths with messages to dev_err_probe(), which combines
dev_err() and the return statement while also handling -EPROBE_DEFER
for the clock path.
Remove the redundant "err:" label and return errors directly. Paths such
as platform_get_irq() already log failures in the callee, so they simply
return the error code without printing an additional message. Inline the
pm_runtime_disable() cleanup at its only call site.

No functional change.

Signed-off-by: bui duc phuc <phucduc.bui@gmail.com>
Reviewed-by: Max Filippov <jcmvbkbc@gmail.com>
Link: https://patch.msgid.link/20260709043740.329504-1-phucduc.bui@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2026-07-10 13:09:41 +01:00
..
Kconfig ASoC: xtensa: Standardize ASoC menu 2025-06-24 01:01:34 +01:00
Makefile ASoC: xtensa: Use *-y instead of *-objs in Makefile 2024-05-08 11:39:39 +09:00
xtfpga-i2s.c ASoC: xtensa: Use dev_err_probe() and drop redundant error handling 2026-07-10 13:09:41 +01:00