|
@@ -345,7 +345,7 @@ int musb_hub_control(
|
|
struct usb_hub_descriptor *desc = (void *)buf;
|
|
struct usb_hub_descriptor *desc = (void *)buf;
|
|
|
|
|
|
desc->bDescLength = 9;
|
|
desc->bDescLength = 9;
|
|
- desc->bDescriptorType = 0x29;
|
|
|
|
|
|
+ desc->bDescriptorType = USB_DT_HUB;
|
|
desc->bNbrPorts = 1;
|
|
desc->bNbrPorts = 1;
|
|
desc->wHubCharacteristics = cpu_to_le16(
|
|
desc->wHubCharacteristics = cpu_to_le16(
|
|
HUB_CHAR_INDV_PORT_LPSM /* per-port power switching */
|
|
HUB_CHAR_INDV_PORT_LPSM /* per-port power switching */
|