Searched hist:"49 e7cc84a86784ef2ab4e651f1824093be8f5b2b" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-usb | diff 49e7cc84a86784ef2ab4e651f1824093be8f5b2b Mon Oct 06 16:45:46 CDT 2008 Sarah Sharp <sarah.a.sharp@linux.intel.com> USB: Export if an interface driver supports autosuspend.
Create a new sysfs file per interface named supports_autosuspend. This file returns true if an interface driver's .supports_autosuspend flag is set. It also returns true if the interface is unclaimed (since the USB core will autosuspend a device if an interface is not claimed).
This new sysfs file will be useful for user space scripts to test whether a USB device correctly auto-suspends.
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com> Cc: Oliver Neukum <oliver@neukum.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
/openbmc/linux/drivers/usb/core/ |
H A D | sysfs.c | diff 49e7cc84a86784ef2ab4e651f1824093be8f5b2b Mon Oct 06 16:45:46 CDT 2008 Sarah Sharp <sarah.a.sharp@linux.intel.com> USB: Export if an interface driver supports autosuspend.
Create a new sysfs file per interface named supports_autosuspend. This file returns true if an interface driver's .supports_autosuspend flag is set. It also returns true if the interface is unclaimed (since the USB core will autosuspend a device if an interface is not claimed).
This new sysfs file will be useful for user space scripts to test whether a USB device correctly auto-suspends.
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com> Cc: Oliver Neukum <oliver@neukum.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|