aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/usb.h
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2015-11-23 03:04:05 -0500
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-11-23 03:04:05 -0500
commit92907cbbef8625bb3998d1eb385fc88f23c97a3f (patch)
tree15626ff9287e37c3cb81c7286d6db5a7fd77c854 /include/linux/usb.h
parent15fbfccfe92c62ae8d1ecc647c44157ed01ac02e (diff)
parent1ec218373b8ebda821aec00bb156a9c94fad9cd4 (diff)
Merge tag 'v4.4-rc2' into drm-intel-next-queued
Linux 4.4-rc2 Backmerge to get at commit 1b0e3a049efe471c399674fd954500ce97438d30 Author: Imre Deak <imre.deak@intel.com> Date: Thu Nov 5 23:04:11 2015 +0200 drm/i915/skl: disable display side power well support for now so that we can proplery re-eanble skl power wells in -next. Conflicts are just adjacent lines changed, except for intel_fbdev.c where we need to interleave the changs. Nothing nefarious. Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Diffstat (limited to 'include/linux/usb.h')
-rw-r--r--include/linux/usb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/usb.h b/include/linux/usb.h
index 447fe29b55b4..b9a28074210f 100644
--- a/include/linux/usb.h
+++ b/include/linux/usb.h
@@ -122,6 +122,8 @@ enum usb_interface_condition {
122 * has been deferred. 122 * has been deferred.
123 * @needs_binding: flag set when the driver should be re-probed or unbound 123 * @needs_binding: flag set when the driver should be re-probed or unbound
124 * following a reset or suspend operation it doesn't support. 124 * following a reset or suspend operation it doesn't support.
125 * @authorized: This allows to (de)authorize individual interfaces instead
126 * a whole device in contrast to the device authorization.
125 * @dev: driver model's view of this device 127 * @dev: driver model's view of this device
126 * @usb_dev: if an interface is bound to the USB major, this will point 128 * @usb_dev: if an interface is bound to the USB major, this will point
127 * to the sysfs representation for that device. 129 * to the sysfs representation for that device.
@@ -178,6 +180,7 @@ struct usb_interface {
178 unsigned needs_altsetting0:1; /* switch to altsetting 0 is pending */ 180 unsigned needs_altsetting0:1; /* switch to altsetting 0 is pending */
179 unsigned needs_binding:1; /* needs delayed unbind/rebind */ 181 unsigned needs_binding:1; /* needs delayed unbind/rebind */
180 unsigned resetting_device:1; /* true: bandwidth alloc after reset */ 182 unsigned resetting_device:1; /* true: bandwidth alloc after reset */
183 unsigned authorized:1; /* used for interface authorization */
181 184
182 struct device dev; /* interface specific device info */ 185 struct device dev; /* interface specific device info */
183 struct device *usb_dev; 186 struct device *usb_dev;
@@ -325,6 +328,7 @@ struct usb_host_bos {
325 /* wireless cap descriptor is handled by wusb */ 328 /* wireless cap descriptor is handled by wusb */
326 struct usb_ext_cap_descriptor *ext_cap; 329 struct usb_ext_cap_descriptor *ext_cap;
327 struct usb_ss_cap_descriptor *ss_cap; 330 struct usb_ss_cap_descriptor *ss_cap;
331 struct usb_ssp_cap_descriptor *ssp_cap;
328 struct usb_ss_container_id_descriptor *ss_id; 332 struct usb_ss_container_id_descriptor *ss_id;
329}; 333};
330 334