public inbox for linux-sound@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC 0/3] simple-card: Improve probe's error messages
@ 2026-01-12 23:12 Fabio Forni
  2026-01-12 23:12 ` [RFC 1/3] ASoC: simple-card: Do not print "parse error" twice Fabio Forni
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Fabio Forni @ 2026-01-12 23:12 UTC (permalink / raw)
  Cc: Fabio Forni, Mark Brown, Kuninori Morimoto, Liam Girdwood,
	Jaroslav Kysela, Takashi Iwai, linux-sound, linux-kernel

Hello,

this patch tries to improve errors messages that are printed by the
probe function of simple-card. Some messages were missing and I think
that made debugging difficult, others were printed even though the
underlying error is unrelated (e.g. when devm_snd_soc_register_card
is called).

This series is tagged as RFC because it's my first contribution. Plus,
patch number 3 touches many lines. I'm not sure I'm allowed to touch
so many lines in one run, also I need more than a pair of eyes because
even though patch #3 is just a refactor, I'm not 100% familiar with ASoC.

Fabio Forni (3):
  ASoC: simple-card: Do not print "parse error" twice
  ASoC: simple-card: Replace "parse error" with a more descriptive msg
  ASoC: simple-card: Split alloc and init logics in probe function

 sound/soc/generic/simple-card-utils.c |   9 ++
 sound/soc/generic/simple-card.c       | 141 +++++++++++++-------------
 2 files changed, 82 insertions(+), 68 deletions(-)

-- 
2.52.0


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

end of thread, other threads:[~2026-01-26  0:56 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-12 23:12 [RFC 0/3] simple-card: Improve probe's error messages Fabio Forni
2026-01-12 23:12 ` [RFC 1/3] ASoC: simple-card: Do not print "parse error" twice Fabio Forni
2026-01-13  2:29   ` Kuninori Morimoto
2026-01-13  8:24     ` Fabio
2026-01-12 23:12 ` [RFC 2/3] ASoC: simple-card: Replace "parse error" with a more descriptive msg Fabio Forni
2026-01-12 23:12 ` [RFC 3/3] ASoC: simple-card: Split alloc and init logics in probe function Fabio Forni
2026-01-13  2:33   ` Kuninori Morimoto
2026-01-13 22:31     ` Fabio
2026-01-20  6:32       ` Kuninori Morimoto
2026-01-24 10:23         ` Fabio
2026-01-26  0:56           ` Kuninori Morimoto

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