Re: [PATCHv3] ARM: drivers/amba: release and cleanup the resource to allow for deferred probe

2019-10-02 Thread Dinh Nguyen
On 10/2/19 12:32 PM, Russell King - ARM Linux admin wrote: > On Wed, Oct 02, 2019 at 09:35:51AM -0500, Dinh Nguyen wrote: >> With commit "79bdcb202a35 ARM: 8906/1: drivers/amba: add reset control to >> amba bus probe", the amba bus driver needs to be deferred probe because the >> reset driver

Re: [PATCHv3] ARM: drivers/amba: release and cleanup the resource to allow for deferred probe

2019-10-02 Thread Dinh Nguyen
On 10/2/19 12:32 PM, Russell King - ARM Linux admin wrote: > On Wed, Oct 02, 2019 at 09:35:51AM -0500, Dinh Nguyen wrote: >> With commit "79bdcb202a35 ARM: 8906/1: drivers/amba: add reset control to >> amba bus probe", the amba bus driver needs to be deferred probe because the >> reset driver

Re: [PATCHv3] ARM: drivers/amba: release and cleanup the resource to allow for deferred probe

2019-10-02 Thread Russell King - ARM Linux admin
On Wed, Oct 02, 2019 at 09:35:51AM -0500, Dinh Nguyen wrote: > With commit "79bdcb202a35 ARM: 8906/1: drivers/amba: add reset control to > amba bus probe", the amba bus driver needs to be deferred probe because the > reset driver is probed later. However with a deferred probe, the call to >

[PATCHv3] ARM: drivers/amba: release and cleanup the resource to allow for deferred probe

2019-10-02 Thread Dinh Nguyen
With commit "79bdcb202a35 ARM: 8906/1: drivers/amba: add reset control to amba bus probe", the amba bus driver needs to be deferred probe because the reset driver is probed later. However with a deferred probe, the call to request_resource() in the driver returns -EBUSY. The reason is the driver