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>
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;