Re: [PATCH v3 2/3] ARM: amba: Move reading of periphid to amba_match()

2015-12-01 Thread Russell King - ARM Linux
On Tue, Dec 01, 2015 at 02:34:25PM +0100, Marek Szyprowski wrote: > From: Tomeu Vizoso > > Reading the periphid when the Primecell device is registered means that > the apb pclk must be available by then or the device won't be registered > at all. > > By reading the periphid in amba_match() we c

Re: [PATCH v3 2/3] ARM: amba: Move reading of periphid to amba_match()

2015-12-01 Thread Ulf Hansson
On 1 December 2015 at 14:34, Marek Szyprowski wrote: > From: Tomeu Vizoso > > Reading the periphid when the Primecell device is registered means that > the apb pclk must be available by then or the device won't be registered > at all. > > By reading the periphid in amba_match() we can return -EPR

[PATCH v3 2/3] ARM: amba: Move reading of periphid to amba_match()

2015-12-01 Thread Marek Szyprowski
From: Tomeu Vizoso Reading the periphid when the Primecell device is registered means that the apb pclk must be available by then or the device won't be registered at all. By reading the periphid in amba_match() we can return -EPROBE_DEFER if the apb pclk isn't there yet and the device will be r