From: Sarah Sharp Date: Mon, 6 Oct 2008 21:45:46 +0000 (-0700) Subject: USB: Export if an interface driver supports autosuspend. X-Git-Tag: v2.6.28-rc1~254^2~33 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49e7cc84a86784ef2ab4e651f1824093be8f5b2b;p=pandora-kernel.git 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 Cc: Oliver Neukum Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed