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.

Attachment: signature.asc
Description: PGP signature

Reply via email to