Messages in this thread | | | Date | Thu, 29 Jan 2009 21:04:35 -0800 | From | Arjan van de Ven <> | Subject | Re: [PATCH] driver core: remove polling for driver_probe_done(v2) |
| |
On Fri, 30 Jan 2009 10:31:42 +0800 tom.leiming@gmail.com wrote:
> From: Ming Lei <tom.leiming@gmail.com> > > This patch renames driver_probe_done to driver_wait_probe_done, > and make it wait on condition of probing done to remove > polling for it in fs initialization. Also add > driver_wait_probe_done_and_dev_appear(name) to allow callers > to wait until all probing is done AND until the device @name > exists.
> /** > + * driver_wait_probe_done_and_dev_appear > + * wait until the probe sequence is finished _and_ the dev @name > appears.
Hi,
sorry to be the bad guy, but I think you turned the "either one" into a "both".... so this isn't going to work ;(
unless I'm just too tired and miss something subtle, but I am pretty sure DeMorgan does not work this way :)
-- Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org
| |