Re: [PATCH v1] mfd: core: Preserve PLATFORM_DEVID_NONE

2017-03-27 Thread Lee Jones
On Sun, 26 Mar 2017, Andy Shevchenko wrote: > On Fri, 2017-03-24 at 11:35 +, Lee Jones wrote: > > On Thu, 23 Mar 2017, Andy Shevchenko wrote: > > > > > On Thu, 2017-03-23 at 11:21 +, Lee Jones wrote: > > > > On Thu, 16 Mar 2017, Andy Shevchenko wrote: > > > > > > > > > There is a

Re: [PATCH v1] mfd: core: Preserve PLATFORM_DEVID_NONE

2017-03-27 Thread Lee Jones
On Sun, 26 Mar 2017, Andy Shevchenko wrote: > On Fri, 2017-03-24 at 11:35 +, Lee Jones wrote: > > On Thu, 23 Mar 2017, Andy Shevchenko wrote: > > > > > On Thu, 2017-03-23 at 11:21 +, Lee Jones wrote: > > > > On Thu, 16 Mar 2017, Andy Shevchenko wrote: > > > > > > > > > There is a

Re: [PATCH v1] mfd: core: Preserve PLATFORM_DEVID_NONE

2017-03-26 Thread Andy Shevchenko
On Fri, 2017-03-24 at 11:35 +, Lee Jones wrote: > On Thu, 23 Mar 2017, Andy Shevchenko wrote: > > > On Thu, 2017-03-23 at 11:21 +, Lee Jones wrote: > > > On Thu, 16 Mar 2017, Andy Shevchenko wrote: > > > > > > > There is a potential flaw if cell has id > 0 and is going to be > > > >

Re: [PATCH v1] mfd: core: Preserve PLATFORM_DEVID_NONE

2017-03-26 Thread Andy Shevchenko
On Fri, 2017-03-24 at 11:35 +, Lee Jones wrote: > On Thu, 23 Mar 2017, Andy Shevchenko wrote: > > > On Thu, 2017-03-23 at 11:21 +, Lee Jones wrote: > > > On Thu, 16 Mar 2017, Andy Shevchenko wrote: > > > > > > > There is a potential flaw if cell has id > 0 and is going to be > > > >

Re: [PATCH v1] mfd: core: Preserve PLATFORM_DEVID_NONE

2017-03-24 Thread Lee Jones
On Thu, 23 Mar 2017, Andy Shevchenko wrote: > On Thu, 2017-03-23 at 11:21 +, Lee Jones wrote: > > On Thu, 16 Mar 2017, Andy Shevchenko wrote: > > > > > There is a potential flaw if cell has id > 0 and is going to be > > > registered with PLATFORM_DEVID_NONE. > > > > > > Ignore if

Re: [PATCH v1] mfd: core: Preserve PLATFORM_DEVID_NONE

2017-03-24 Thread Lee Jones
On Thu, 23 Mar 2017, Andy Shevchenko wrote: > On Thu, 2017-03-23 at 11:21 +, Lee Jones wrote: > > On Thu, 16 Mar 2017, Andy Shevchenko wrote: > > > > > There is a potential flaw if cell has id > 0 and is going to be > > > registered with PLATFORM_DEVID_NONE. > > > > > > Ignore if

Re: [PATCH v1] mfd: core: Preserve PLATFORM_DEVID_NONE

2017-03-23 Thread Andy Shevchenko
On Thu, 2017-03-23 at 11:21 +, Lee Jones wrote: > On Thu, 16 Mar 2017, Andy Shevchenko wrote: > > > There is a potential flaw if cell has id > 0 and is going to be > > registered with PLATFORM_DEVID_NONE. > > > > Ignore if PLATFORM_DEVID_NONE is supplied. > > This is a substantial change to

Re: [PATCH v1] mfd: core: Preserve PLATFORM_DEVID_NONE

2017-03-23 Thread Andy Shevchenko
On Thu, 2017-03-23 at 11:21 +, Lee Jones wrote: > On Thu, 16 Mar 2017, Andy Shevchenko wrote: > > > There is a potential flaw if cell has id > 0 and is going to be > > registered with PLATFORM_DEVID_NONE. > > > > Ignore if PLATFORM_DEVID_NONE is supplied. > > This is a substantial change to

Re: [PATCH v1] mfd: core: Preserve PLATFORM_DEVID_NONE

2017-03-23 Thread Lee Jones
On Thu, 16 Mar 2017, Andy Shevchenko wrote: > There is a potential flaw if cell has id > 0 and is going to be > registered with PLATFORM_DEVID_NONE. > > Ignore if PLATFORM_DEVID_NONE is supplied. This is a substantial change to a pretty tried and tested piece of sub-system code. Can you put

Re: [PATCH v1] mfd: core: Preserve PLATFORM_DEVID_NONE

2017-03-23 Thread Lee Jones
On Thu, 16 Mar 2017, Andy Shevchenko wrote: > There is a potential flaw if cell has id > 0 and is going to be > registered with PLATFORM_DEVID_NONE. > > Ignore if PLATFORM_DEVID_NONE is supplied. This is a substantial change to a pretty tried and tested piece of sub-system code. Can you put

[PATCH v1] mfd: core: Preserve PLATFORM_DEVID_NONE

2017-03-16 Thread Andy Shevchenko
There is a potential flaw if cell has id > 0 and is going to be registered with PLATFORM_DEVID_NONE. Ignore if PLATFORM_DEVID_NONE is supplied. Signed-off-by: Andy Shevchenko --- drivers/mfd/mfd-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH v1] mfd: core: Preserve PLATFORM_DEVID_NONE

2017-03-16 Thread Andy Shevchenko
There is a potential flaw if cell has id > 0 and is going to be registered with PLATFORM_DEVID_NONE. Ignore if PLATFORM_DEVID_NONE is supplied. Signed-off-by: Andy Shevchenko --- drivers/mfd/mfd-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/mfd-core.c