summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2016-11-18 01:54:54 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2016-11-18 01:54:53 -0800
commitd1a64e4014108e81c92b580951fa2cb16647e213 (patch)
treeb4f813772599aed4104b2992c5e82f75576edfbe /include/linux
parenta8277a5b93f583a96ca7e7d80efa53a535180a17 (diff)
parent7b553e1abd0af7770907081b4aab83d72043e1fd (diff)
Merge "USB: Allow skipping device resume during system resume"
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/usb.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/usb.h b/include/linux/usb.h
index 440248ba4123..7e6e4665212f 100644
--- a/include/linux/usb.h
+++ b/include/linux/usb.h
@@ -395,6 +395,15 @@ struct usb_bus {
struct mon_bus *mon_bus; /* non-null when associated */
int monitored; /* non-zero when monitored */
#endif
+ unsigned skip_resume:1; /* All USB devices are brought into full
+ * power state after system resume. It
+ * is desirable for some buses to keep
+ * their devices in suspend state even
+ * after system resume. The devices
+ * are resumed later when a remote
+ * wakeup is detected or an interface
+ * driver starts I/O.
+ */
};
struct usb_dev_state;