Skip to content

Commit

Permalink
[PATCH] USB: Fix masking bug initialization of Freescale EHCI controller
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kumar Gala authored and Greg Kroah-Hartman committed Mar 20, 2006
1 parent 0eb8c7c commit 499003e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/usb/host/ehci-fsl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 499003e

Please sign in to comment.