summaryrefslogtreecommitdiff
path: root/mm/mmap.c
diff options
context:
space:
mode:
authorSarah Sharp <sarah.a.sharp@linux.intel.com>2008-10-06 14:45:46 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2008-10-17 14:41:03 -0700
commit49e7cc84a86784ef2ab4e651f1824093be8f5b2b (patch)
tree0bd664b1df6cd48382bcb51771ca3eac362697ee /mm/mmap.c
parenteafe5b99f2135488b21cf17a262c54997c44f784 (diff)
downloadlinux-3.10-49e7cc84a86784ef2ab4e651f1824093be8f5b2b.tar.gz
linux-3.10-49e7cc84a86784ef2ab4e651f1824093be8f5b2b.tar.bz2
linux-3.10-49e7cc84a86784ef2ab4e651f1824093be8f5b2b.zip
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>
Diffstat (limited to 'mm/mmap.c')
0 files changed, 0 insertions, 0 deletions