mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
af70316af1
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> |
||
---|---|---|
.. | ||
power | ||
attribute_container.c | ||
base.h | ||
bus.c | ||
class.c | ||
core.c | ||
cpu.c | ||
dmapool.c | ||
driver.c | ||
firmware.c | ||
firmware_class.c | ||
init.c | ||
Kconfig | ||
Makefile | ||
map.c | ||
node.c | ||
platform.c | ||
sys.c | ||
transport_class.c |