Re: [PATCH v5 01/23] driver core: Add pre_probe callback to bus_type

2015-09-18 Thread Tomeu Vizoso
On 17 September 2015 at 17:52, Alan Stern wrote: > On Thu, 17 Sep 2015, Tomeu Vizoso wrote: > >> Some buses (eg. AMBA) need access to some HW resources (it may need a >> clock to be enabled so a device ID can be read) before a device can be >> matched to a driver. >> >> The pre_probe callback allo

Re: [PATCH v5 01/23] driver core: Add pre_probe callback to bus_type

2015-09-17 Thread Alan Stern
On Thu, 17 Sep 2015, Tomeu Vizoso wrote: > Some buses (eg. AMBA) need access to some HW resources (it may need a > clock to be enabled so a device ID can be read) before a device can be > matched to a driver. > > The pre_probe callback allows the device-driver core to request the bus > to perform

[PATCH v5 01/23] driver core: Add pre_probe callback to bus_type

2015-09-17 Thread Tomeu Vizoso
Some buses (eg. AMBA) need access to some HW resources (it may need a clock to be enabled so a device ID can be read) before a device can be matched to a driver. The pre_probe callback allows the device-driver core to request the bus to perform this initialization and can defer the probe if any of