diff options
author | Fabien Chouteau <fabien.chouteau@barco.com> | 2010-04-23 14:21:26 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-20 13:21:39 -0700 |
commit | f48cf80f93ba974eb3201ab2d0f2c4cef950f3fc (patch) | |
tree | a90ec04a891d1698110372791d01a03d90c6da3f /Documentation | |
parent | 326b4810cc995209e31136af4202ed0414814ed5 (diff) | |
download | linux-3.10-f48cf80f93ba974eb3201ab2d0f2c4cef950f3fc.tar.gz linux-3.10-f48cf80f93ba974eb3201ab2d0f2c4cef950f3fc.tar.bz2 linux-3.10-f48cf80f93ba974eb3201ab2d0f2c4cef950f3fc.zip |
USB: Composite framework: Add suspended sysfs entry
This patch adds a sysfs entry (/sys/devices/platform/_UDC_/gadget/suspended) to
show the suspend state of an USB composite gadget.
Signed-off-by: Fabien Chouteau <fabien.chouteau@barco.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/ABI/testing/sysfs-devices-platform-_UDC_-gadget | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-devices-platform-_UDC_-gadget b/Documentation/ABI/testing/sysfs-devices-platform-_UDC_-gadget new file mode 100644 index 00000000000..34034027b13 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-devices-platform-_UDC_-gadget @@ -0,0 +1,9 @@ +What: /sys/devices/platform/_UDC_/gadget/suspended +Date: April 2010 +Contact: Fabien Chouteau <fabien.chouteau@barco.com> +Description: + Show the suspend state of an USB composite gadget. + 1 -> suspended + 0 -> resumed + + (_UDC_ is the name of the USB Device Controller driver) |