USB: Composite framework: Add suspended sysfs entry
authorFabien Chouteau <fabien.chouteau@barco.com>
Fri, 23 Apr 2010 12:21:26 +0000 (14:21 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 20 May 2010 20:21:39 +0000 (13:21 -0700)
commitf48cf80f93ba974eb3201ab2d0f2c4cef950f3fc
treea90ec04a891d1698110372791d01a03d90c6da3f
parent326b4810cc995209e31136af4202ed0414814ed5
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>
Documentation/ABI/testing/sysfs-devices-platform-_UDC_-gadget [new file with mode: 0644]
drivers/usb/gadget/composite.c
include/linux/usb/composite.h
include/linux/usb/gadget.h