diff options
Diffstat (limited to 'drivers/usb/host/isp1362-hcd.c')
-rw-r--r-- | drivers/usb/host/isp1362-hcd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/host/isp1362-hcd.c b/drivers/usb/host/isp1362-hcd.c index 02b742df332..6dd94b997d9 100644 --- a/drivers/usb/host/isp1362-hcd.c +++ b/drivers/usb/host/isp1362-hcd.c | |||
@@ -1552,9 +1552,9 @@ static void isp1362_hub_descriptor(struct isp1362_hcd *isp1362_hcd, | |||
1552 | desc->wHubCharacteristics = cpu_to_le16((reg >> 8) & 0x1f); | 1552 | desc->wHubCharacteristics = cpu_to_le16((reg >> 8) & 0x1f); |
1553 | DBG(0, "%s: hubcharacteristics = %02x\n", __func__, cpu_to_le16((reg >> 8) & 0x1f)); | 1553 | DBG(0, "%s: hubcharacteristics = %02x\n", __func__, cpu_to_le16((reg >> 8) & 0x1f)); |
1554 | desc->bPwrOn2PwrGood = (reg >> 24) & 0xff; | 1554 | desc->bPwrOn2PwrGood = (reg >> 24) & 0xff; |
1555 | /* two bitmaps: ports removable, and legacy PortPwrCtrlMask */ | 1555 | /* ports removable, and legacy PortPwrCtrlMask */ |
1556 | desc->bitmap[0] = desc->bNbrPorts == 1 ? 1 << 1 : 3 << 1; | 1556 | desc->DeviceRemovable[0] = desc->bNbrPorts == 1 ? 1 << 1 : 3 << 1; |
1557 | desc->bitmap[1] = ~0; | 1557 | desc->DeviceRemovable[1] = ~0; |
1558 | 1558 | ||
1559 | DBG(3, "%s: exit\n", __func__); | 1559 | DBG(3, "%s: exit\n", __func__); |
1560 | } | 1560 | } |