From: Takashi Iwai <tiwai@suse.de>
To: Stefan Binding <sbinding@opensource.cirrus.com>
Cc: Mark Brown <broonie@kernel.org>, Jaroslav Kysela <perex@perex.cz>,
Takashi Iwai <tiwai@suse.com>,
linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org,
patches@opensource.cirrus.com
Subject: Re: [PATCH v1 0/2] Add common wait_for_boot and reset_and_boot apis for cs35l41 drivers
Date: Sat, 31 Oct 2026 17:11:25 +0100 [thread overview]
Message-ID: <87mrrtrgsy.wl-tiwai@suse.de> (raw)
In-Reply-To: <20261030171045.469944-1-sbinding@opensource.cirrus.com>
On Fri, 30 Oct 2026 18:10:13 +0100,
Stefan Binding wrote:
>
> Both HDA and ASoC CS35L41 drivers use a similar meachnism for waiting
> for the chip to boot: regmap_read_poll_timeout().
> However, this method can break if the macro returns early if a
> regmap_read() call fails.
> Replace this macro with a loop which does not break on regmap_read()
> failure.
>
> In addition, ensure the software reset prior to boot does not fail,
> and ensure it is additionally run in the ASoC driver.
>
> Stefan Binding (2):
> ALSA: hda: cs35l41: Add common wait_for_boot api and reset_and_boot
> api
> ASoC: cs35l41: Use common wait_for_boot and reset_and_boot apis
Applied both patches now. Thanks.
Takashi
prev parent reply other threads:[~2026-10-31 16:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-30 17:10 [PATCH v1 0/2] Add common wait_for_boot and reset_and_boot apis for cs35l41 drivers Stefan Binding
2026-10-30 17:10 ` [PATCH v1 1/2] ALSA: hda: cs35l41: Add common wait_for_boot api and reset_and_boot api Stefan Binding
2026-10-30 17:26 ` sashiko-bot
2026-10-30 17:10 ` [PATCH v1 2/2] ASoC: cs35l41: Use common wait_for_boot and reset_and_boot apis Stefan Binding
2026-10-30 17:20 ` Mark Brown
2026-10-31 16:11 ` Takashi Iwai [this message]
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=87mrrtrgsy.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=broonie@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=patches@opensource.cirrus.com \
--cc=perex@perex.cz \
--cc=sbinding@opensource.cirrus.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