[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260112231855.193030-1-development@redaril.me>
Date: Tue, 13 Jan 2026 00:12:21 +0100
From: Fabio Forni <development@...aril.me>
To:
Cc: Fabio Forni <development@...aril.me>,
Mark Brown <broonie@...nel.org>,
Kuninori Morimoto <kuninori.morimoto.gx@...esas.com>,
Liam Girdwood <lgirdwood@...il.com>,
Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>,
linux-sound@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [RFC 0/3] simple-card: Improve probe's error messages
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
Powered by blists - more mailing lists