Re: [RFC PATCH] regulator: core: do not disable regulator if boot_on is set

2014-11-25 Thread Pramod Gurav
On Tuesday 25 November 2014 04:27 PM, Lucas Stach wrote: > Am Dienstag, den 25.11.2014, 16:23 +0530 schrieb Pramod Gurav: >> Currently the regulator core disables the regulators which are unused >> or whose reference count is zero or if they are configured always_on. >> This change adds a check in

Re: [RFC PATCH] regulator: core: do not disable regulator if boot_on is set

2014-11-25 Thread Pramod Gurav
Hi Mark, On Tuesday 25 November 2014 04:35 PM, Mark Brown wrote: > On Tue, Nov 25, 2014 at 04:23:23PM +0530, Pramod Gurav wrote: >> Currently the regulator core disables the regulators which are unused >> or whose reference count is zero or if they are configured always_on. > > No, it does *not*

Re: [RFC PATCH] regulator: core: do not disable regulator if boot_on is set

2014-11-25 Thread Mark Brown
On Tue, Nov 25, 2014 at 04:23:23PM +0530, Pramod Gurav wrote: > Currently the regulator core disables the regulators which are unused > or whose reference count is zero or if they are configured always_on. No, it does *not* disable them if they are configured always_on (as the code you're modifyin

Re: [RFC PATCH] regulator: core: do not disable regulator if boot_on is set

2014-11-25 Thread Lucas Stach
Am Dienstag, den 25.11.2014, 16:23 +0530 schrieb Pramod Gurav: > Currently the regulator core disables the regulators which are unused > or whose reference count is zero or if they are configured always_on. > This change adds a check in this logic to see if a regulator is > configured as boot_on an

[RFC PATCH] regulator: core: do not disable regulator if boot_on is set

2014-11-25 Thread Pramod Gurav
Currently the regulator core disables the regulators which are unused or whose reference count is zero or if they are configured always_on. This change adds a check in this logic to see if a regulator is configured as boot_on and does not disable it if found true. Signed-off-by: Pramod Gurav ---