|
@@ -347,11 +347,13 @@ static int ohci_at91_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue,
|
|
|
*/
|
|
|
|
|
|
desc->wHubCharacteristics &= ~cpu_to_le16(HUB_CHAR_LPSM);
|
|
|
- desc->wHubCharacteristics |= cpu_to_le16(0x0001);
|
|
|
+ desc->wHubCharacteristics |=
|
|
|
+ cpu_to_le16(HUB_CHAR_INDV_PORT_LPSM);
|
|
|
|
|
|
if (pdata->overcurrent_supported) {
|
|
|
desc->wHubCharacteristics &= ~cpu_to_le16(HUB_CHAR_OCPM);
|
|
|
- desc->wHubCharacteristics |= cpu_to_le16(0x0008|0x0001);
|
|
|
+ desc->wHubCharacteristics |=
|
|
|
+ cpu_to_le16(HUB_CHAR_INDV_PORT_OCPM);
|
|
|
}
|
|
|
|
|
|
dev_dbg(hcd->self.controller, "wHubCharacteristics after 0x%04x\n",
|