Re: [PATCH 5/5] mmc: cavium: Fix probing race with regulator

2017-05-18 Thread Rob Herring
On Thu, May 18, 2017 at 4:39 AM, Jan Glauber wrote: > On Wed, May 17, 2017 at 03:41:12PM +0200, Jan Glauber wrote: >> On Tue, May 16, 2017 at 09:37:48AM -0500, Rob Herring wrote: >> > On Tue, May 16, 2017 at 8:38 AM, Jan Glauber >> > wrote: >> > > On Tue, May 16, 2017 at 08:07:50AM -0500, Rob Her

Re: [PATCH 5/5] mmc: cavium: Fix probing race with regulator

2017-05-18 Thread Jan Glauber
On Wed, May 17, 2017 at 03:41:12PM +0200, Jan Glauber wrote: > On Tue, May 16, 2017 at 09:37:48AM -0500, Rob Herring wrote: > > On Tue, May 16, 2017 at 8:38 AM, Jan Glauber > > wrote: > > > On Tue, May 16, 2017 at 08:07:50AM -0500, Rob Herring wrote: > > >> On Tue, May 16, 2017 at 4:36 AM, Jan Gla

Re: [PATCH 5/5] mmc: cavium: Fix probing race with regulator

2017-05-17 Thread Jan Glauber
On Tue, May 16, 2017 at 09:37:48AM -0500, Rob Herring wrote: > On Tue, May 16, 2017 at 8:38 AM, Jan Glauber > wrote: > > On Tue, May 16, 2017 at 08:07:50AM -0500, Rob Herring wrote: > >> On Tue, May 16, 2017 at 4:36 AM, Jan Glauber wrote: > >> > If the regulator probing is not yet finished this d

Re: [PATCH 5/5] mmc: cavium: Fix probing race with regulator

2017-05-16 Thread David Daney
On 05/16/2017 07:37 AM, Rob Herring wrote: On Tue, May 16, 2017 at 8:38 AM, Jan Glauber wrote: On Tue, May 16, 2017 at 08:07:50AM -0500, Rob Herring wrote: On Tue, May 16, 2017 at 4:36 AM, Jan Glauber wrote: If the regulator probing is not yet finished this driver might catch a -EPROBE_DEFER

Re: [PATCH 5/5] mmc: cavium: Fix probing race with regulator

2017-05-16 Thread Rob Herring
On Tue, May 16, 2017 at 8:38 AM, Jan Glauber wrote: > On Tue, May 16, 2017 at 08:07:50AM -0500, Rob Herring wrote: >> On Tue, May 16, 2017 at 4:36 AM, Jan Glauber wrote: >> > If the regulator probing is not yet finished this driver >> > might catch a -EPROBE_DEFER. Returning after this condition

Re: [PATCH 5/5] mmc: cavium: Fix probing race with regulator

2017-05-16 Thread Jan Glauber
On Tue, May 16, 2017 at 08:07:50AM -0500, Rob Herring wrote: > On Tue, May 16, 2017 at 4:36 AM, Jan Glauber wrote: > > If the regulator probing is not yet finished this driver > > might catch a -EPROBE_DEFER. Returning after this condition > > did not remove the created platform device. On a repea

Re: [PATCH 5/5] mmc: cavium: Fix probing race with regulator

2017-05-16 Thread Rob Herring
On Tue, May 16, 2017 at 4:36 AM, Jan Glauber wrote: > If the regulator probing is not yet finished this driver > might catch a -EPROBE_DEFER. Returning after this condition > did not remove the created platform device. On a repeated > call to the probe function the of_platform_device_create > fail

[PATCH 5/5] mmc: cavium: Fix probing race with regulator

2017-05-16 Thread Jan Glauber
If the regulator probing is not yet finished this driver might catch a -EPROBE_DEFER. Returning after this condition did not remove the created platform device. On a repeated call to the probe function the of_platform_device_create fails. Calling of_platform_device_destroy after EPROBE_DEFER resol