diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2008-08-18 17:38:22 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-10-17 14:40:53 -0700 |
commit | 60beed95e38793c0baff7f94433c1f639d8d5efd (patch) | |
tree | f35e277cdd32267772854b481843299564e4f3e8 /Documentation/memory.txt | |
parent | 8066134ff8140ae9d8d15cdad3fc6c60c2a8a4e5 (diff) | |
download | op-kernel-dev-60beed95e38793c0baff7f94433c1f639d8d5efd.zip op-kernel-dev-60beed95e38793c0baff7f94433c1f639d8d5efd.tar.gz |
usb gadget: function activation/deactivation
Add a new mechanism to the composite gadget framework, letting
functions deactivate (and reactivate) themselves. Think of it
as a refcounted wrapper for the software pullup control.
A key example of why to use this mechanism involves functions that
require a userspace daemon. Those functions shuld use this new
mechanism to prevent the gadget from enumerating until those daemons
are activated. Without this mechanism, hosts would see devices that
malfunction until the relevant daemons start.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/memory.txt')
0 files changed, 0 insertions, 0 deletions