[PATCH 0/2] ASoC: xilinx: Use dev_err_probe() and drop redundant error handling

phucduc.bui@gmail.com posted 2 patches 2 weeks, 1 day ago
sound/soc/xilinx/xlnx_i2s.c   | 18 +++++++-----------
sound/soc/xilinx/xlnx_spdif.c | 30 ++++++++++--------------------
2 files changed, 17 insertions(+), 31 deletions(-)
[PATCH 0/2] ASoC: xilinx: Use dev_err_probe() and drop redundant error handling
Posted by phucduc.bui@gmail.com 2 weeks, 1 day ago
From: bui duc phuc <phucduc.bui@gmail.com>

Hi all,

This series cleans up error handling in the Xilinx ASoC drivers.
It replaces dev_err() followed by return with dev_err_probe() where
appropriate in probe paths, allowing deferred probe to be handled
correctly while simplifying the code.
It also removes redundant dev_err() calls after helper functions that
already report failures, avoiding duplicate error messages.

Best regards,
Phuc

bui duc phuc (2):
  ASoC: xilinx: xlnx_i2s: Use dev_err_probe() and drop redundant error
    handling
  ASoC: xilinx: xlnx_spdif: Use dev_err_probe() and drop redundant error
    handling

 sound/soc/xilinx/xlnx_i2s.c   | 18 +++++++-----------
 sound/soc/xilinx/xlnx_spdif.c | 30 ++++++++++--------------------
 2 files changed, 17 insertions(+), 31 deletions(-)

-- 
2.43.0