lkml.org 
[lkml]   [2022]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [RFT PATCH] regulator: core: Require regulator drivers to check uV for get_optimum_mode()
Hi,

On Tue, Aug 23, 2022 at 3:49 PM Mark Brown <broonie@kernel.org> wrote:
>
> On Tue, Aug 23, 2022 at 03:32:44PM -0700, Doug Anderson wrote:
>
> > I guess maybe we could add the "initial mode" as an implicitly allowed
> > mode? I guess the other option is to implicitly disable
> > regulator-allow-set-load if no allowed modes are listed? Both of these
>
> We should do the former, or equivalently just noop out of set_load() via
> set_optimium_mode() if no modes are allowed.

OK, v2 posted where I kept patch #1 exactly the same and added a
second patch to address this case. Hopefully it works for you.

-Doug

\
 
 \ /
  Last update: 2022-08-24 23:25    [W:0.058 / U:0.328 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site