Re: [PATCH] regulator: core: Allow dummy regulators for supplies

2017-04-13 Thread Dong Aisheng
Hi Mark, On Thu, Apr 13, 2017 at 8:20 PM, Mark Brown wrote: > On Wed, Apr 12, 2017 at 03:33:14PM +, A.S. Dong wrote: > >> Now we allow a supply to be a dummy regulator. But due to >> fc42112c0eaa ("regulator: core: Propagate voltage changes to supply >> regulators") >> which supports propaga

Re: [PATCH] regulator: core: Allow dummy regulators for supplies

2017-04-13 Thread Mark Brown
On Wed, Apr 12, 2017 at 03:33:14PM +, A.S. Dong wrote: > Now we allow a supply to be a dummy regulator. But due to > fc42112c0eaa ("regulator: core: Propagate voltage changes to supply > regulators") > which supports propagate voltage change to supply regulator, > then it will certainly fail

RE: [PATCH] regulator: core: Allow dummy regulators for supplies

2017-04-12 Thread A.S. Dong
Hi Mark, > -Original Message- > From: Mark Brown [mailto:broo...@kernel.org] > Sent: Wednesday, April 12, 2017 4:37 AM > To: A.S. Dong > Cc: Liam Girdwood; linux-kernel@vger.kernel.org; shawn...@kernel.org; > Robin Gong > Subject: Re: [PATCH] regulator: core: Allow

Re: [PATCH] regulator: core: Allow dummy regulators for supplies

2017-04-11 Thread Mark Brown
On Tue, Apr 11, 2017 at 09:34:37PM +0100, Mark Brown wrote: > Rather than just not resolving the supply when there is explicitly no > supply mapping fall through and allow a dummy supply to be substituted. I should mention that this is completely untested, sorry. signature.asc Description: PGP s

[PATCH] regulator: core: Allow dummy regulators for supplies

2017-04-11 Thread Mark Brown
Rather than just not resolving the supply when there is explicitly no supply mapping fall through and allow a dummy supply to be substituted. Signed-off-by: Mark Brown --- drivers/regulator/core.c | 8 1 file changed, 8 deletions(-) diff --git a/drivers/regulator/core.c b/drivers/regul