mochel@digitalimplant.org af70316af1 [PATCH] Add a semaphore to struct device to synchronize calls to its driver.
This adds a per-device semaphore that is taken before every call from the core to a
driver method. This prevents e.g. simultaneous calls to the ->suspend() or ->resume()
and ->probe() or ->release(), potentially saving a whole lot of headaches.

It also moves us a step closer to removing the bus rwsem, since it protects the fields
in struct device that are modified by the core.

Signed-off-by: Patrick Mochel <mochel@digitalimplant.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-06-20 15:15:12 -07:00
..
2005-06-07 12:35:43 -07:00
2005-06-19 19:26:54 +01:00
2005-05-04 07:33:15 -07:00
2005-05-04 07:33:15 -07:00
2005-06-06 14:42:23 -07:00
2005-05-04 07:33:15 -07:00
2005-05-04 07:33:15 -07:00
2005-05-04 07:33:15 -07:00
2005-06-04 17:13:00 -07:00
2005-05-28 16:46:13 -07:00
2005-05-28 16:46:13 -07:00
2005-06-07 12:35:43 -07:00
2005-05-04 07:33:15 -07:00
2005-06-07 12:35:43 -07:00