Re: [PATCH 1/2] regulator: add regulator_is_dummy function

2013-01-07 Thread Mark Brown
On Mon, Jan 07, 2013 at 01:30:54PM +0100, Dr. Rainer Kaluscha wrote: > The problem is that *only* a dummy regulator is available which > refuses to do any regulation at all. > So sdhci/mmc should better behave as no regulator was available at all. > This may happen if e.g. in a precompiled kernel

Re: [PATCH 1/2] regulator: add regulator_is_dummy function

2013-01-07 Thread Mark Brown
On Mon, Jan 07, 2013 at 06:36:36AM -0500, Kevin Liu wrote: > 2013/1/7 Mark Brown : > > No, we've been through this repeatedly. Whatever problem you're trying > > to bodge around is going to be a problem with some real physical > > regulators too. > Then the only way is MUST define the regulator

Re: [PATCH 1/2] regulator: add regulator_is_dummy function

2013-01-07 Thread Dr. Rainer Kaluscha
Am 07.01.2013 12:25, schrieb Mark Brown: On Mon, Jan 07, 2013 at 01:38:50PM +0800, Kevin Liu wrote: Introduce a regulator_is_dummy function to check whether the regulator is dummy. No, we've been through this repeatedly. Whatever problem you're trying to bodge around is going to be a problem

Re: [PATCH 1/2] regulator: add regulator_is_dummy function

2013-01-07 Thread Kevin Liu
2013/1/7 Mark Brown : > On Mon, Jan 07, 2013 at 01:38:50PM +0800, Kevin Liu wrote: >> Introduce a regulator_is_dummy function to check whether the >> regulator is dummy. > > No, we've been through this repeatedly. Whatever problem you're trying > to bodge around is going to be a problem with some

Re: [PATCH 1/2] regulator: add regulator_is_dummy function

2013-01-07 Thread Mark Brown
On Mon, Jan 07, 2013 at 01:38:50PM +0800, Kevin Liu wrote: > Introduce a regulator_is_dummy function to check whether the > regulator is dummy. No, we've been through this repeatedly. Whatever problem you're trying to bodge around is going to be a problem with some real physical regulators too.

[PATCH 1/2] regulator: add regulator_is_dummy function

2013-01-06 Thread Kevin Liu
Introduce a regulator_is_dummy function to check whether the regulator is dummy. Signed-off-by: Kevin Liu --- drivers/regulator/core.c | 17 + include/linux/regulator/consumer.h |6 ++ 2 files changed, 23 insertions(+) diff --git a/drivers/regulator/core.c b/