|
@@ -93,7 +93,7 @@ static void xhci_usb2_hub_descriptor(struct usb_hcd *hcd, struct xhci_hcd *xhci,
|
|
|
*/
|
|
|
memset(port_removable, 0, sizeof(port_removable));
|
|
|
for (i = 0; i < ports; i++) {
|
|
|
- portsc = xhci_readl(xhci, xhci->usb3_ports[i]);
|
|
|
+ portsc = xhci_readl(xhci, xhci->usb2_ports[i]);
|
|
|
/* If a device is removable, PORTSC reports a 0, same as in the
|
|
|
* hub descriptor DeviceRemovable bits.
|
|
|
*/
|