Re: [PATCH 4/4] regulator: core: make bulk API support optional supplies

2017-02-06 Thread Dmitry Torokhov
On Mon, Feb 06, 2017 at 04:21:18PM -0800, Bjorn Andersson wrote: > On Fri 03 Feb 15:16 PST 2017, Dmitry Torokhov wrote: > > > Make it possible to use the bulk API with optional supplies, by allowing > > the consumer to marking supplies as optional in the regulator_bulk_data. > > > > Based on earl

Re: [PATCH 4/4] regulator: core: make bulk API support optional supplies

2017-02-06 Thread Bjorn Andersson
On Fri 03 Feb 15:16 PST 2017, Dmitry Torokhov wrote: > Make it possible to use the bulk API with optional supplies, by allowing > the consumer to marking supplies as optional in the regulator_bulk_data. > > Based on earlier patch by Bjorn Andersson > Hi Dmitry, Rather than fixing my broken pa

Re: [PATCH 4/4] regulator: core: make bulk API support optional supplies

2017-02-06 Thread Mark Brown
On Sun, Feb 05, 2017 at 08:30:33PM -0800, Dmitry Torokhov wrote: > On Sun, Feb 05, 2017 at 05:07:37PM +0100, Mark Brown wrote: > > The tlv320aic32x4 driver isn't a particularly well written driver in > > this regard in the first place - I don't recall the details but I > > strongly suspect that th

Re: [PATCH 4/4] regulator: core: make bulk API support optional supplies

2017-02-05 Thread Dmitry Torokhov
On Sun, Feb 05, 2017 at 05:07:37PM +0100, Mark Brown wrote: > On Sat, Feb 04, 2017 at 10:13:18AM -0800, Dmitry Torokhov wrote: > > On Sat, Feb 04, 2017 at 11:56:14AM +0100, Mark Brown wrote: > > > > some of the regulators are optional. You *can* peer into the structure > > > and special case thin

Re: [PATCH 4/4] regulator: core: make bulk API support optional supplies

2017-02-05 Thread Mark Brown
On Sat, Feb 04, 2017 at 10:13:18AM -0800, Dmitry Torokhov wrote: > On Sat, Feb 04, 2017 at 11:56:14AM +0100, Mark Brown wrote: > > some of the regulators are optional. You *can* peer into the structure > > and special case things but it then makes further uses of the bulk API > > on the same bloc

Re: [PATCH 4/4] regulator: core: make bulk API support optional supplies

2017-02-04 Thread Dmitry Torokhov
On Sat, Feb 04, 2017 at 11:56:14AM +0100, Mark Brown wrote: > On Fri, Feb 03, 2017 at 03:16:19PM -0800, Dmitry Torokhov wrote: > > Make it possible to use the bulk API with optional supplies, by allowing > > the consumer to marking supplies as optional in the regulator_bulk_data. > > So, I know I

Re: [PATCH 4/4] regulator: core: make bulk API support optional supplies

2017-02-04 Thread Mark Brown
On Fri, Feb 03, 2017 at 03:16:19PM -0800, Dmitry Torokhov wrote: > Make it possible to use the bulk API with optional supplies, by allowing > the consumer to marking supplies as optional in the regulator_bulk_data. So, I know I took the version Bjorn sent before (which was subsequently reverted) b

Re: [PATCH 4/4] regulator: core: make bulk API support optional supplies

2017-02-03 Thread kbuild test robot
Hi Dmitry, [auto build test ERROR on regulator/for-next] [also build test ERROR on v4.10-rc6 next-20170203] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Dmitry-Torokhov/regulator-core-fix-typo

[PATCH 4/4] regulator: core: make bulk API support optional supplies

2017-02-03 Thread Dmitry Torokhov
Make it possible to use the bulk API with optional supplies, by allowing the consumer to marking supplies as optional in the regulator_bulk_data. Based on earlier patch by Bjorn Andersson Signed-off-by: Dmitry Torokhov --- drivers/regulator/core.c | 41 ---