From: phucduc.bui@gmail.com
To: Mark Brown <broonie@kernel.org>, Sen Wang <sen@ti.com>,
Liam Girdwood <lgirdwood@gmail.com>,
Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
Jarkko Nikula <jarkko.nikula@bitmer.com>,
Christophe JAILLET <christophe.jaillet@wanadoo.fr>,
linux-omap@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, linux-sound@vger.kernel.org,
bui duc phuc <phucduc.bui@gmail.com>
Subject: [PATCH v2 00/10] ASoC: ti: Improve probe error handling
Date: Thu, 16 Jul 2026 16:08:19 +0700 [thread overview]
Message-ID: <20260716090829.72082-1-phucduc.bui@gmail.com> (raw)
From: bui duc phuc <phucduc.bui@gmail.com>
Hi all,
This series cleans up probe error handling across several TI ASoC
drivers.
The changes fall into two categories:
1.Replace dev_err() with dev_err_probe() when reporting probe
failures. This preserves the original error code while suppressing
unnecessary log messages for deferred probe errors.
2.Preserve the original error codes returned by helper functions
instead of converting them to -ENODEV, and remove redundant error
messages where the helper already reports the failure.
Build-tested only.
Changes in v2:
- Add missing parentheses to `snd_soc_register_card()` (Christophe).
- Remove an extra blank line (Christophe).
Best regards,
Phuc
bui duc phuc (10):
ASoC: ti: ams-delta: Use dev_err_probe() for error handling
ASoC: ti: davinci-evm: Use dev_err_probe() for error handling
ASoC: ti: j721e-evm: Return the original error from card name parsing
ASoC: ti: omap-abe-twl6040: Preserve error code and drop redundant log
ASoC: ti: omap-abe-twl6040: Use dev_err_probe() for error handling
ASoC: ti: omap-dmic: Use dev_err_probe() for error handling
ASoC: ti: omap-hdmi: Use dev_err_probe() for error handling
ASoC: ti: omap-twl4030: Return the original error code
ASoC: ti: omap-twl4030: Use dev_err_probe() for error handling
ASoC: ti: rx51: Use dev_err_probe() for error handling
sound/soc/ti/ams-delta.c | 4 ++--
sound/soc/ti/davinci-evm.c | 3 +--
sound/soc/ti/j721e-evm.c | 7 +++----
sound/soc/ti/omap-abe-twl6040.c | 15 ++++++---------
sound/soc/ti/omap-dmic.c | 7 +++----
sound/soc/ti/omap-hdmi.c | 6 ++----
sound/soc/ti/omap-twl4030.c | 15 ++++++---------
sound/soc/ti/rx51.c | 28 ++++++++++++----------------
8 files changed, 35 insertions(+), 50 deletions(-)
--
2.43.0
next reply other threads:[~2026-07-16 9:08 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-16 9:08 phucduc.bui [this message]
2026-07-16 9:08 ` [PATCH v2 01/10] ASoC: ti: ams-delta: Use dev_err_probe() for error handling phucduc.bui
2026-07-16 9:08 ` [PATCH v2 02/10] ASoC: ti: davinci-evm: " phucduc.bui
2026-07-16 9:08 ` [PATCH v2 03/10] ASoC: ti: j721e-evm: Return the original error from card name parsing phucduc.bui
2026-07-16 9:08 ` [PATCH v2 04/10] ASoC: ti: omap-abe-twl6040: Preserve error code and drop redundant log phucduc.bui
2026-07-16 9:08 ` [PATCH v2 05/10] ASoC: ti: omap-abe-twl6040: Use dev_err_probe() for error handling phucduc.bui
2026-07-16 9:08 ` [PATCH v2 06/10] ASoC: ti: omap-dmic: " phucduc.bui
2026-07-16 9:08 ` [PATCH v2 07/10] ASoC: ti: omap-hdmi: " phucduc.bui
2026-07-16 9:28 ` Cezary Rojewski
2026-07-16 10:11 ` Bui Duc Phuc
2026-07-16 9:08 ` [PATCH v2 08/10] ASoC: ti: omap-twl4030: Return the original error code phucduc.bui
2026-07-16 9:08 ` [PATCH v2 09/10] ASoC: ti: omap-twl4030: Use dev_err_probe() for error handling phucduc.bui
2026-07-16 9:08 ` [PATCH v2 10/10] ASoC: ti: rx51: " phucduc.bui
2026-07-16 10:19 ` Cezary Rojewski
2026-07-16 10:41 ` Bui Duc Phuc
2026-07-16 11:15 ` Cezary Rojewski
2026-07-16 12:14 ` Bui Duc Phuc
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260716090829.72082-1-phucduc.bui@gmail.com \
--to=phucduc.bui@gmail.com \
--cc=broonie@kernel.org \
--cc=christophe.jaillet@wanadoo.fr \
--cc=jarkko.nikula@bitmer.com \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=perex@perex.cz \
--cc=sen@ti.com \
--cc=tiwai@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox