aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ehci-fsl.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host/ehci-fsl.c')
-rw-r--r--drivers/usb/host/ehci-fsl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/host/ehci-fsl.c b/drivers/usb/host/ehci-fsl.c
index 59f90f76ee31..f985f121a245 100644
--- a/drivers/usb/host/ehci-fsl.c
+++ b/drivers/usb/host/ehci-fsl.c
@@ -160,8 +160,7 @@ static void mpc83xx_setup_phy(struct ehci_hcd *ehci,
160 enum fsl_usb2_phy_modes phy_mode, 160 enum fsl_usb2_phy_modes phy_mode,
161 unsigned int port_offset) 161 unsigned int port_offset)
162{ 162{
163 u32 portsc = readl(&ehci->regs->port_status[port_offset]); 163 u32 portsc = 0;
164 portsc &= ~PORT_PTS_MSK;
165 switch (phy_mode) { 164 switch (phy_mode) {
166 case FSL_USB2_PHY_ULPI: 165 case FSL_USB2_PHY_ULPI:
167 portsc |= PORT_PTS_ULPI; 166 portsc |= PORT_PTS_ULPI;