diff options
| -rw-r--r-- | drivers/usb/dwc2/hcd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/usb/dwc2/hcd.c b/drivers/usb/dwc2/hcd.c index 755e16b9cbb3..c3e66f0be02c 100644 --- a/drivers/usb/dwc2/hcd.c +++ b/drivers/usb/dwc2/hcd.c | |||
| @@ -1608,7 +1608,9 @@ static int dwc2_hcd_hub_control(struct dwc2_hsotg *hsotg, u16 typereq, | |||
| 1608 | hub_desc->bDescLength = 9; | 1608 | hub_desc->bDescLength = 9; |
| 1609 | hub_desc->bDescriptorType = 0x29; | 1609 | hub_desc->bDescriptorType = 0x29; |
| 1610 | hub_desc->bNbrPorts = 1; | 1610 | hub_desc->bNbrPorts = 1; |
| 1611 | hub_desc->wHubCharacteristics = cpu_to_le16(0x08); | 1611 | hub_desc->wHubCharacteristics = |
| 1612 | cpu_to_le16(HUB_CHAR_COMMON_LPSM | | ||
| 1613 | HUB_CHAR_INDV_PORT_OCPM); | ||
| 1612 | hub_desc->bPwrOn2PwrGood = 1; | 1614 | hub_desc->bPwrOn2PwrGood = 1; |
| 1613 | hub_desc->bHubContrCurrent = 0; | 1615 | hub_desc->bHubContrCurrent = 0; |
| 1614 | hub_desc->u.hs.DeviceRemovable[0] = 0; | 1616 | hub_desc->u.hs.DeviceRemovable[0] = 0; |
