diff options
Diffstat (limited to 'drivers/usb/host/isp1760-hcd.c')
-rw-r--r-- | drivers/usb/host/isp1760-hcd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/host/isp1760-hcd.c b/drivers/usb/host/isp1760-hcd.c index c7c1e0aa0b8e..1c8de7666d6a 100644 --- a/drivers/usb/host/isp1760-hcd.c +++ b/drivers/usb/host/isp1760-hcd.c | |||
@@ -1751,9 +1751,9 @@ static void isp1760_hub_descriptor(struct isp1760_hcd *priv, | |||
1751 | temp = 1 + (ports / 8); | 1751 | temp = 1 + (ports / 8); |
1752 | desc->bDescLength = 7 + 2 * temp; | 1752 | desc->bDescLength = 7 + 2 * temp; |
1753 | 1753 | ||
1754 | /* two bitmaps: ports removable, and usb 1.0 legacy PortPwrCtrlMask */ | 1754 | /* ports removable, and usb 1.0 legacy PortPwrCtrlMask */ |
1755 | memset(&desc->bitmap[0], 0, temp); | 1755 | memset(&desc->DeviceRemovable[0], 0, temp); |
1756 | memset(&desc->bitmap[temp], 0xff, temp); | 1756 | memset(&desc->DeviceRemovable[temp], 0xff, temp); |
1757 | 1757 | ||
1758 | /* per-port overcurrent reporting */ | 1758 | /* per-port overcurrent reporting */ |
1759 | temp = 0x0008; | 1759 | temp = 0x0008; |