|
@@ -108,6 +108,7 @@ enum usb_interface_condition {
|
|
* (in probe()), bound to a driver, or unbinding (in disconnect())
|
|
* (in probe()), bound to a driver, or unbinding (in disconnect())
|
|
* @is_active: flag set when the interface is bound and not suspended.
|
|
* @is_active: flag set when the interface is bound and not suspended.
|
|
* @sysfs_files_created: sysfs attributes exist
|
|
* @sysfs_files_created: sysfs attributes exist
|
|
|
|
+ * @unregistering: flag set when the interface is being unregistered
|
|
* @needs_remote_wakeup: flag set when the driver requires remote-wakeup
|
|
* @needs_remote_wakeup: flag set when the driver requires remote-wakeup
|
|
* capability during autosuspend.
|
|
* capability during autosuspend.
|
|
* @needs_altsetting0: flag set when a set-interface request for altsetting 0
|
|
* @needs_altsetting0: flag set when a set-interface request for altsetting 0
|
|
@@ -163,6 +164,7 @@ struct usb_interface {
|
|
enum usb_interface_condition condition; /* state of binding */
|
|
enum usb_interface_condition condition; /* state of binding */
|
|
unsigned is_active:1; /* the interface is not suspended */
|
|
unsigned is_active:1; /* the interface is not suspended */
|
|
unsigned sysfs_files_created:1; /* the sysfs attributes exist */
|
|
unsigned sysfs_files_created:1; /* the sysfs attributes exist */
|
|
|
|
+ unsigned unregistering:1; /* unregistration is in progress */
|
|
unsigned needs_remote_wakeup:1; /* driver requires remote wakeup */
|
|
unsigned needs_remote_wakeup:1; /* driver requires remote wakeup */
|
|
unsigned needs_altsetting0:1; /* switch to altsetting 0 is pending */
|
|
unsigned needs_altsetting0:1; /* switch to altsetting 0 is pending */
|
|
unsigned needs_binding:1; /* needs delayed unbind/rebind */
|
|
unsigned needs_binding:1; /* needs delayed unbind/rebind */
|