[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200529105411.GF4610@sirena.org.uk>
Date: Fri, 29 May 2020 11:54:11 +0100
From: Mark Brown <broonie@...nel.org>
To: Sumit Semwal <sumit.semwal@...aro.org>
Cc: agross@...nel.org, bjorn.andersson@...aro.org, lgirdwood@...il.com,
robh+dt@...nel.org, nishakumari@...eaurora.org,
linux-arm-msm@...r.kernel.org, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org, kgunda@...eaurora.org,
rnayak@...eaurora.org
Subject: Re: [PATCH v3 1/5] regulator: Allow regulators to verify enabled
during enable()
On Thu, May 28, 2020 at 09:16:21PM +0530, Sumit Semwal wrote:
> + while (time_remaining > 0) {
> + /* We've already waited for enable_time above;
> + * so we can start with immediate check of the
> + * status of the regulator.
> + */
> + if (rdev->desc->ops->is_enabled(rdev))
> + break;
I'd expect to prefer to get_status() if it's available.
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists