49e7cc84a8
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> |
||
---|---|---|
.. | ||
debugfs-pktcdvd | ||
procfs-diskstats | ||
sysfs-block | ||
sysfs-bus-css | ||
sysfs-bus-pci | ||
sysfs-bus-usb | ||
sysfs-bus-usb-devices-usbsevseg | ||
sysfs-class | ||
sysfs-class-bdi | ||
sysfs-class-pktcdvd | ||
sysfs-class-regulator | ||
sysfs-dev | ||
sysfs-devices | ||
sysfs-devices-memory | ||
sysfs-firmware-acpi | ||
sysfs-firmware-memmap | ||
sysfs-firmware-sgi_uv | ||
sysfs-gpio | ||
sysfs-ibft | ||
sysfs-kernel-mm | ||
sysfs-kernel-mm-hugepages | ||
sysfs-kernel-uids | ||
sysfs-ocfs2 | ||
sysfs-power | ||
sysfs-profiling |