summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ehci-fsl.c
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2006-01-24 08:11:27 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2006-03-20 14:49:57 -0800
commit499003e815344304c7b0c93aad923ddf644d24e0 (patch)
tree7a73626d56fd83174b342093f421d99e7e90e5b4 /drivers/usb/host/ehci-fsl.c
parent0eb8c7cafe8d4fa9a90ea8680200e3ae3d57b1bd (diff)
downloadlinux-499003e815344304c7b0c93aad923ddf644d24e0.tar.gz
linux-499003e815344304c7b0c93aad923ddf644d24e0.tar.bz2
linux-499003e815344304c7b0c93aad923ddf644d24e0.zip
[PATCH] USB: Fix masking bug initialization of Freescale EHCI controller
In setting up the of PHY we masked off too many bits, instead just initialize PORTSC for the type of PHY we are using. Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Acked-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
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,
enum fsl_usb2_phy_modes phy_mode,
unsigned int port_offset)
{
- u32 portsc = readl(&ehci->regs->port_status[port_offset]);
- portsc &= ~PORT_PTS_MSK;
+ u32 portsc = 0;
switch (phy_mode) {
case FSL_USB2_PHY_ULPI:
portsc |= PORT_PTS_ULPI;