Merge 3.4-rc4 into usb-next.
This resolves the conflict in: drivers/usb/host/ehci-fsl.c And picks up loads of xhci bugfixes to make it easier for others to test with. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
@@ -531,7 +531,8 @@ static int check_reset_complete (
|
||||
if (ehci->has_amcc_usb23)
|
||||
set_ohci_hcfs(ehci, 1);
|
||||
} else {
|
||||
ehci_dbg (ehci, "port %d high speed\n", index + 1);
|
||||
ehci_dbg(ehci, "port %d reset complete, port enabled\n",
|
||||
index + 1);
|
||||
/* ensure 440EPx ohci controller state is suspended */
|
||||
if (ehci->has_amcc_usb23)
|
||||
set_ohci_hcfs(ehci, 0);
|
||||
@@ -699,6 +700,7 @@ static int ehci_hub_control (
|
||||
goto error;
|
||||
wIndex--;
|
||||
temp = ehci_readl(ehci, status_reg);
|
||||
temp &= ~PORT_RWC_BITS;
|
||||
|
||||
/*
|
||||
* Even if OWNER is set, so the port is owned by the
|
||||
@@ -712,8 +714,7 @@ static int ehci_hub_control (
|
||||
ehci_writel(ehci, temp & ~PORT_PE, status_reg);
|
||||
break;
|
||||
case USB_PORT_FEAT_C_ENABLE:
|
||||
ehci_writel(ehci, (temp & ~PORT_RWC_BITS) | PORT_PEC,
|
||||
status_reg);
|
||||
ehci_writel(ehci, temp | PORT_PEC, status_reg);
|
||||
break;
|
||||
case USB_PORT_FEAT_SUSPEND:
|
||||
if (temp & PORT_RESET)
|
||||
@@ -742,7 +743,7 @@ static int ehci_hub_control (
|
||||
spin_lock_irqsave(&ehci->lock, flags);
|
||||
}
|
||||
/* resume signaling for 20 msec */
|
||||
temp &= ~(PORT_RWC_BITS | PORT_WAKE_BITS);
|
||||
temp &= ~PORT_WAKE_BITS;
|
||||
ehci_writel(ehci, temp | PORT_RESUME, status_reg);
|
||||
ehci->reset_done[wIndex] = jiffies
|
||||
+ msecs_to_jiffies(20);
|
||||
@@ -752,9 +753,8 @@ static int ehci_hub_control (
|
||||
break;
|
||||
case USB_PORT_FEAT_POWER:
|
||||
if (HCS_PPC (ehci->hcs_params))
|
||||
ehci_writel(ehci,
|
||||
temp & ~(PORT_RWC_BITS | PORT_POWER),
|
||||
status_reg);
|
||||
ehci_writel(ehci, temp & ~PORT_POWER,
|
||||
status_reg);
|
||||
break;
|
||||
case USB_PORT_FEAT_C_CONNECTION:
|
||||
if (ehci->has_lpm) {
|
||||
@@ -762,12 +762,10 @@ static int ehci_hub_control (
|
||||
temp &= ~PORT_LPM;
|
||||
temp &= ~PORT_DEV_ADDR;
|
||||
}
|
||||
ehci_writel(ehci, (temp & ~PORT_RWC_BITS) | PORT_CSC,
|
||||
status_reg);
|
||||
ehci_writel(ehci, temp | PORT_CSC, status_reg);
|
||||
break;
|
||||
case USB_PORT_FEAT_C_OVER_CURRENT:
|
||||
ehci_writel(ehci, (temp & ~PORT_RWC_BITS) | PORT_OCC,
|
||||
status_reg);
|
||||
ehci_writel(ehci, temp | PORT_OCC, status_reg);
|
||||
break;
|
||||
case USB_PORT_FEAT_C_RESET:
|
||||
/* GetPortStatus clears reset */
|
||||
|
Reference in New Issue
Block a user