2012-08-06 15:47:17

by Axel Lin

[permalink] [raw]
Subject: Re: [PATCH RFT] regulator: ab8500: Set enable enable_time in regulator_desc

2012/7/4 Mark Brown <[email protected]>:
> On Wed, Jul 04, 2012 at 10:31:45AM +0800, Axel Lin wrote:
>> Signed-off-by: Axel Lin <[email protected]>
>> ---
>> Hi Linus,
>> While working on this patch, I found in original code:
>> ab8500_regulator_ops set enable_time callback to ab8500_regulator_enable_time,
>> but does not set the delay in ab8500_regulator_info.
>> I'm not sure the delay value is 0 for ab8500_regulator_ops, or the setting is
>> just missing.
>> Anyway, there is no behavior change by this patch.
>
> Surely if the delay is not set in info then it'll introduce a delay
> which wasn't there before (but which may well be a bug fix)?

Ping...

Hi Linus,
Any comments on this patch?

Regards,
Axel


2012-08-06 15:50:13

by Linus Walleij

[permalink] [raw]
Subject: Re: [PATCH RFT] regulator: ab8500: Set enable enable_time in regulator_desc

On Mon, Aug 6, 2012 at 5:46 PM, Axel Lin <[email protected]> wrote:
> 2012/7/4 Mark Brown <[email protected]>:
>> On Wed, Jul 04, 2012 at 10:31:45AM +0800, Axel Lin wrote:
>>> Signed-off-by: Axel Lin <[email protected]>
>>> ---
>>> Hi Linus,
>>> While working on this patch, I found in original code:
>>> ab8500_regulator_ops set enable_time callback to ab8500_regulator_enable_time,
>>> but does not set the delay in ab8500_regulator_info.
>>> I'm not sure the delay value is 0 for ab8500_regulator_ops, or the setting is
>>> just missing.
>>> Anyway, there is no behavior change by this patch.
>>
>> Surely if the delay is not set in info then it'll introduce a delay
>> which wasn't there before (but which may well be a bug fix)?
>
> Ping...
>
> Hi Linus,
> Any comments on this patch?

Looks good to me:
Acked-by: Linus Walleij <[email protected]>

I need to check the proper rise times with the maintainers.

Yours,
Linus Walleij

2012-08-07 09:32:30

by Linus Walleij

[permalink] [raw]
Subject: Re: [PATCH RFT] regulator: ab8500: Set enable enable_time in regulator_desc

On Mon, Aug 6, 2012 at 5:50 PM, Linus Walleij <[email protected]> wrote:
> On Mon, Aug 6, 2012 at 5:46 PM, Axel Lin <[email protected]> wrote:
>> 2012/7/4 Mark Brown <[email protected]>:
>>> On Wed, Jul 04, 2012 at 10:31:45AM +0800, Axel Lin wrote:
>>>> Signed-off-by: Axel Lin <[email protected]>
>>>> ---
>>>> Hi Linus,
>>>> While working on this patch, I found in original code:
>>>> ab8500_regulator_ops set enable_time callback to ab8500_regulator_enable_time,
>>>> but does not set the delay in ab8500_regulator_info.
>>>> I'm not sure the delay value is 0 for ab8500_regulator_ops, or the setting is
>>>> just missing.
>>>> Anyway, there is no behavior change by this patch.
>>>
>>> Surely if the delay is not set in info then it'll introduce a delay
>>> which wasn't there before (but which may well be a bug fix)?
>>
>> Ping...
>>
>> Hi Linus,
>> Any comments on this patch?
>
> Looks good to me:
> Acked-by: Linus Walleij <[email protected]>
>
> I need to check the proper rise times with the maintainers.

I remember this now. Only that one regulator has a non-negligeble
rise time, so for that reason it's set to that value. Atleast so I was
told once upon a time when I implemented it, so this patch
should be fine.

Yours,
Linus Walleij

2012-08-07 10:58:01

by Mark Brown

[permalink] [raw]
Subject: Re: [PATCH RFT] regulator: ab8500: Set enable enable_time in regulator_desc

On Tue, Aug 07, 2012 at 11:32:27AM +0200, Linus Walleij wrote:

> I remember this now. Only that one regulator has a non-negligeble
> rise time, so for that reason it's set to that value. Atleast so I was
> told once upon a time when I implemented it, so this patch
> should be fine.

Please resend the patch if I didn't apply it already, I've not got it
any more.