Re: [PATCH v5 3/5] driver core: handle -EPROBE_DEFER from bus_type.match()

2016-01-04 Thread Russell King - ARM Linux
On Wed, Dec 23, 2015 at 11:59:26AM +0100, Marek Szyprowski wrote: > From: Tomeu Vizoso > > Allow implementations of the match() callback in struct bus_type to > return errors and if it's -EPROBE_DEFER then queue the device for > deferred probing. > > This is useful

Re: [PATCH v5 3/5] driver core: handle -EPROBE_DEFER from bus_type.match()

2016-01-04 Thread Greg Kroah-Hartman
On Mon, Jan 04, 2016 at 04:31:00PM +, Russell King - ARM Linux wrote: > On Wed, Dec 23, 2015 at 11:59:26AM +0100, Marek Szyprowski wrote: > > From: Tomeu Vizoso > > > > Allow implementations of the match() callback in struct bus_type to > > return errors and if

[PATCH v5 3/5] driver core: handle -EPROBE_DEFER from bus_type.match()

2015-12-23 Thread Marek Szyprowski
From: Tomeu Vizoso Allow implementations of the match() callback in struct bus_type to return errors and if it's -EPROBE_DEFER then queue the device for deferred probing. This is useful to buses such as AMBA in which devices are registered before their matching