Re: [PATCH] regulator: core: Pass max_uV value to regulator_set_voltage_rdev
From: Tony Lindgren
Date: Fri Sep 28 2018 - 20:27:59 EST
* Dmitry Osipenko <digetx@xxxxxxxxx> [180928 23:55]:
> On 9/29/18 2:17 AM, Dmitry Osipenko wrote:
> > On 9/29/18 1:41 AM, Tony Lindgren wrote:
> >> I'm still getting these errors after init:
> >
> > Thank you very much again, seems I got what's wrong with your case. The ti-abb-regulator driver sets the "abb->current_info_idx = -EINVAL" on probe and that value is getting updated only after the first voltage change, hence _regulator_get_voltage() returns -22.
OK that's starting to make some sense now thanks.
> > Please try this patch:
>
> I've revised the patch and here is the current final version.
Hey cool this one works now :) I suggest you rework the whole series
with these fixes. I recall the series had a problem with git bisect
too between the patches. It will make life easier for other people
who may need to git bisect these patches.
Thanks,
Tony