aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 e6c815590fdd..22e7b53123ef 100644
--- a/include/linux/usb.h
+++ b/include/linux/usb.h
@@ -879,6 +879,9 @@ struct usbdrv_wrap {
879 * for interfaces bound to this driver. 879 * for interfaces bound to this driver.
880 * @soft_unbind: if set to 1, the USB core will not kill URBs and disable 880 * @soft_unbind: if set to 1, the USB core will not kill URBs and disable
881 * endpoints before calling the driver's disconnect method. 881 * endpoints before calling the driver's disconnect method.
882 * @disable_hub_initiated_lpm: if set to 0, the USB core will not allow hubs
883 * to initiate lower power link state transitions when an idle timeout
884 * occurs. Device-initiated USB 3.0 link PM will still be allowed.
882 * 885 *
883 * USB interface drivers must provide a name, probe() and disconnect() 886 * USB interface drivers must provide a name, probe() and disconnect()
884 * methods, and an id_table. Other driver fields are optional. 887 * methods, and an id_table. Other driver fields are optional.
@@ -919,6 +922,7 @@ struct usb_driver {
919 struct usbdrv_wrap drvwrap; 922 struct usbdrv_wrap drvwrap;
920 unsigned int no_dynamic_id:1; 923 unsigned int no_dynamic_id:1;
921 unsigned int supports_autosuspend:1; 924 unsigned int supports_autosuspend:1;
925 unsigned int disable_hub_initiated_lpm:1;
922 unsigned int soft_unbind:1; 926 unsigned int soft_unbind:1;
923}; 927};
924#define to_usb_driver(d) container_of(d, struct usb_driver, drvwrap.driver) 928#define to_usb_driver(d) container_of(d, struct usb_driver, drvwrap.driver)