Loading drivers/usb/core/hub.c +4 −2 Original line number Diff line number Diff line Loading @@ -4143,7 +4143,8 @@ hub_port_init (struct usb_hub *hub, struct usb_device *udev, int port1, for (i = 0; i < GET_DESCRIPTOR_TRIES; (++i, msleep(100))) { if (USE_NEW_SCHEME(retry_counter) && !(hcd->driver->flags & HCD_USB3) && !(hcd->driver->flags & HCD_OLD_ENUM)) { !((hcd->driver->flags & HCD_RT_OLD_ENUM) && !hdev->parent)) { struct usb_device_descriptor *buf; ushort idvendor; int r = 0; Loading Loading @@ -4247,7 +4248,8 @@ hub_port_init (struct usb_hub *hub, struct usb_device *udev, int port1, msleep(10); if (USE_NEW_SCHEME(retry_counter) && !(hcd->driver->flags & HCD_USB3) && !(hcd->driver->flags & HCD_OLD_ENUM)) !((hcd->driver->flags & HCD_RT_OLD_ENUM) && !hdev->parent)) break; } Loading drivers/usb/host/ehci-msm-hsic.c +1 −1 Original line number Diff line number Diff line Loading @@ -1471,7 +1471,7 @@ static struct hc_driver msm_hsic_driver = { * generic hardware linkage */ .irq = msm_hsic_irq, .flags = HCD_USB2 | HCD_MEMORY | HCD_OLD_ENUM, .flags = HCD_USB2 | HCD_MEMORY | HCD_RT_OLD_ENUM, .reset = ehci_hsic_reset, .start = ehci_run, Loading include/linux/usb/hcd.h +2 −1 Original line number Diff line number Diff line Loading @@ -216,7 +216,8 @@ struct hc_driver { #define HCD_MEMORY 0x0001 /* HC regs use memory (else I/O) */ #define HCD_LOCAL_MEM 0x0002 /* HC needs local memory */ #define HCD_SHARED 0x0004 /* Two (or more) usb_hcds share HW */ #define HCD_OLD_ENUM 0x0008 /* HC supports short enumeration */ #define HCD_RT_OLD_ENUM 0x0008 /* HC supports short enumeration on root port */ #define HCD_USB11 0x0010 /* USB 1.1 */ #define HCD_USB2 0x0020 /* USB 2.0 */ #define HCD_USB3 0x0040 /* USB 3.0 */ Loading Loading
drivers/usb/core/hub.c +4 −2 Original line number Diff line number Diff line Loading @@ -4143,7 +4143,8 @@ hub_port_init (struct usb_hub *hub, struct usb_device *udev, int port1, for (i = 0; i < GET_DESCRIPTOR_TRIES; (++i, msleep(100))) { if (USE_NEW_SCHEME(retry_counter) && !(hcd->driver->flags & HCD_USB3) && !(hcd->driver->flags & HCD_OLD_ENUM)) { !((hcd->driver->flags & HCD_RT_OLD_ENUM) && !hdev->parent)) { struct usb_device_descriptor *buf; ushort idvendor; int r = 0; Loading Loading @@ -4247,7 +4248,8 @@ hub_port_init (struct usb_hub *hub, struct usb_device *udev, int port1, msleep(10); if (USE_NEW_SCHEME(retry_counter) && !(hcd->driver->flags & HCD_USB3) && !(hcd->driver->flags & HCD_OLD_ENUM)) !((hcd->driver->flags & HCD_RT_OLD_ENUM) && !hdev->parent)) break; } Loading
drivers/usb/host/ehci-msm-hsic.c +1 −1 Original line number Diff line number Diff line Loading @@ -1471,7 +1471,7 @@ static struct hc_driver msm_hsic_driver = { * generic hardware linkage */ .irq = msm_hsic_irq, .flags = HCD_USB2 | HCD_MEMORY | HCD_OLD_ENUM, .flags = HCD_USB2 | HCD_MEMORY | HCD_RT_OLD_ENUM, .reset = ehci_hsic_reset, .start = ehci_run, Loading
include/linux/usb/hcd.h +2 −1 Original line number Diff line number Diff line Loading @@ -216,7 +216,8 @@ struct hc_driver { #define HCD_MEMORY 0x0001 /* HC regs use memory (else I/O) */ #define HCD_LOCAL_MEM 0x0002 /* HC needs local memory */ #define HCD_SHARED 0x0004 /* Two (or more) usb_hcds share HW */ #define HCD_OLD_ENUM 0x0008 /* HC supports short enumeration */ #define HCD_RT_OLD_ENUM 0x0008 /* HC supports short enumeration on root port */ #define HCD_USB11 0x0010 /* USB 1.1 */ #define HCD_USB2 0x0020 /* USB 2.0 */ #define HCD_USB3 0x0040 /* USB 3.0 */ Loading