Linux Sound subsystem development
 help / color / mirror / Atom feed
* [PATCH 0/2] ASoC: xilinx: Use dev_err_probe() and drop redundant error handling
@ 2026-07-10  5:02 phucduc.bui
  2026-07-10  5:02 ` [PATCH 1/2] ASoC: xilinx: xlnx_i2s: " phucduc.bui
  2026-07-10  5:02 ` [PATCH 2/2] ASoC: xilinx: xlnx_spdif: " phucduc.bui
  0 siblings, 2 replies; 8+ messages in thread
From: phucduc.bui @ 2026-07-10  5:02 UTC (permalink / raw)
  To: Vincenzo Frascino, Jaroslav Kysela, Takashi Iwai, Liam Girdwood,
	Mark Brown, Michal Simek
  Cc: linux-sound, linux-kernel, linux-arm-kernel, bui duc phuc

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-07-10 10:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-10  5:02 [PATCH 0/2] ASoC: xilinx: Use dev_err_probe() and drop redundant error handling phucduc.bui
2026-07-10  5:02 ` [PATCH 1/2] ASoC: xilinx: xlnx_i2s: " phucduc.bui
2026-07-10  7:29   ` Michal Simek
2026-07-10  5:02 ` [PATCH 2/2] ASoC: xilinx: xlnx_spdif: " phucduc.bui
2026-07-10  7:34   ` Michal Simek
2026-07-10  8:17     ` Bui Duc Phuc
2026-07-10  8:48       ` Michal Simek
2026-07-10 10:20         ` Bui Duc Phuc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox