|
@@ -2954,13 +2954,11 @@ static int xhci_root_enable ( struct usb_hub *hub, struct usb_port *port ) {
|
2954
|
2954
|
uint32_t portsc;
|
2955
|
2955
|
unsigned int i;
|
2956
|
2956
|
|
2957
|
|
- /* Reset port if applicable */
|
2958
|
|
- if ( port->protocol < USB_PROTO_3_0 ) {
|
2959
|
|
- portsc = readl ( xhci->op + XHCI_OP_PORTSC ( port->address ) );
|
2960
|
|
- portsc &= XHCI_PORTSC_PRESERVE;
|
2961
|
|
- portsc |= XHCI_PORTSC_PR;
|
2962
|
|
- writel ( portsc, xhci->op + XHCI_OP_PORTSC ( port->address ) );
|
2963
|
|
- }
|
|
2957
|
+ /* Reset port */
|
|
2958
|
+ portsc = readl ( xhci->op + XHCI_OP_PORTSC ( port->address ) );
|
|
2959
|
+ portsc &= XHCI_PORTSC_PRESERVE;
|
|
2960
|
+ portsc |= XHCI_PORTSC_PR;
|
|
2961
|
+ writel ( portsc, xhci->op + XHCI_OP_PORTSC ( port->address ) );
|
2964
|
2962
|
|
2965
|
2963
|
/* Wait for port to become enabled */
|
2966
|
2964
|
for ( i = 0 ; i < XHCI_PORT_RESET_MAX_WAIT_MS ; i++ ) {
|