[PATCH] ARM: shmobile: fix regulator quirk for Gen2

2016-09-07 Thread Simon Horman
From: Wolfram Sang The current implementation only works if the da9xxx devices are added before their drivers are registered. Only then it can apply the fixes to both devices. Otherwise, the driver for the first device gets probed before the fix for the second

Re: [PATCH] ARM: shmobile: fix regulator quirk for Gen2

2016-09-02 Thread Simon Horman
On Thu, Sep 01, 2016 at 09:00:07PM +0200, Geert Uytterhoeven wrote: > On Thu, Sep 1, 2016 at 4:27 PM, Wolfram Sang wrote: > > On Thu, Sep 01, 2016 at 04:22:37PM +0200, Simon Horman wrote: > >> On Tue, Aug 30, 2016 at 05:15:58PM +0200, Geert Uytterhoeven wrote: > >> > On Tue,

Re: [PATCH] ARM: shmobile: fix regulator quirk for Gen2

2016-09-01 Thread Geert Uytterhoeven
On Thu, Sep 1, 2016 at 4:27 PM, Wolfram Sang wrote: > On Thu, Sep 01, 2016 at 04:22:37PM +0200, Simon Horman wrote: >> On Tue, Aug 30, 2016 at 05:15:58PM +0200, Geert Uytterhoeven wrote: >> > On Tue, Aug 30, 2016 at 4:54 PM, Wolfram Sang >> >

Re: [PATCH] ARM: shmobile: fix regulator quirk for Gen2

2016-09-01 Thread Simon Horman
On Tue, Aug 30, 2016 at 05:15:58PM +0200, Geert Uytterhoeven wrote: > Hi Wolfram, > > On Tue, Aug 30, 2016 at 4:54 PM, Wolfram Sang > wrote: > > The current implementation only works if the da9xxx devices are added > > before their drivers are registered. Only

Re: [PATCH] ARM: shmobile: fix regulator quirk for Gen2

2016-09-01 Thread Wolfram Sang
On Thu, Sep 01, 2016 at 04:22:37PM +0200, Simon Horman wrote: > On Tue, Aug 30, 2016 at 05:15:58PM +0200, Geert Uytterhoeven wrote: > > Hi Wolfram, > > > > On Tue, Aug 30, 2016 at 4:54 PM, Wolfram Sang > > wrote: > > > The current implementation only works if

Re: [PATCH] ARM: shmobile: fix regulator quirk for Gen2

2016-08-30 Thread Geert Uytterhoeven
Hi Wolfram, On Tue, Aug 30, 2016 at 4:54 PM, Wolfram Sang wrote: > The current implementation only works if the da9xxx devices are added > before their drivers are registered. Only then it can apply the fixes to > both devices. Otherwise, the driver for the

[PATCH] ARM: shmobile: fix regulator quirk for Gen2

2016-08-30 Thread Wolfram Sang
The current implementation only works if the da9xxx devices are added before their drivers are registered. Only then it can apply the fixes to both devices. Otherwise, the driver for the first device gets probed before the fix for the second device can be applied. This is what fails when using the