[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ced16027-2148-4482-bb94-6c4c2f3bf019@sirena.org.uk>
Date: Thu, 16 Oct 2025 20:17:00 +0100
From: Mark Brown <broonie@...nel.org>
To: Herve Codina <herve.codina@...tlin.com>
Cc: David Rhodes <david.rhodes@...rus.com>,
Richard Fitzgerald <rf@...nsource.cirrus.com>,
Liam Girdwood <lgirdwood@...il.com>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Jaroslav Kysela <perex@...ex.cz>, Takashi Iwai <tiwai@...e.com>,
Alexander Sverdlin <alexander.sverdlin@...il.com>,
Nikita Shubin <nikita.shubin@...uefel.me>,
Axel Lin <axel.lin@...ics.com>,
Brian Austin <brian.austin@...rus.com>, linux-sound@...r.kernel.org,
patches@...nsource.cirrus.com, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
Thomas Petazzoni <thomas.petazzoni@...tlin.com>
Subject: Re: [PATCH 3/3] ASoC: cs4271: Add support for the external mclk
On Thu, Oct 16, 2025 at 03:03:39PM +0200, Herve Codina wrote:
> + ret = clk_prepare_enable(cs4271->clk);
> + if (ret) {
> + dev_err(component->dev, "Failed to enable clk: %d\n", ret);
> + goto err_disable_regulators;
> + }
> +
> + /*
> + * Be sure to have the clock and power-supplies stable before releasing
> + * the reset.
> + */
> + fsleep(1000);
The regulator and clock drivers should be doing that. Any sleep here
should come from the device's own requirements for waiting after they
become available.
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists