File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -879,6 +879,9 @@ struct usbdrv_wrap {
879
879
* for interfaces bound to this driver.
880
880
* @soft_unbind: if set to 1, the USB core will not kill URBs and disable
881
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
886
* USB interface drivers must provide a name, probe() and disconnect()
884
887
* methods, and an id_table. Other driver fields are optional.
@@ -919,6 +922,7 @@ struct usb_driver {
919
922
struct usbdrv_wrap drvwrap ;
920
923
unsigned int no_dynamic_id :1 ;
921
924
unsigned int supports_autosuspend :1 ;
925
+ unsigned int disable_hub_initiated_lpm :1 ;
922
926
unsigned int soft_unbind :1 ;
923
927
};
924
928
#define to_usb_driver (d ) container_of(d, struct usb_driver, drvwrap.driver)
You can’t perform that action at this time.
0 commit comments