fsl/usb: Resolve PHY_CLK_VLD instability issue for ULPI phy
authorRamneek Mehresh <ramneek.mehresh@freescale.com>
Mon, 16 Sep 2013 09:41:33 +0000 (15:11 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Sep 2013 18:59:57 +0000 (11:59 -0700)
commitad1260e9fbf768d6bed227d9604ebee76a84aae3
tree18655a6182c91ee11dfb1ead04838151e2118c43
parent831abf76643555a99b80a3b54adfa7e4fa0a3259
fsl/usb: Resolve PHY_CLK_VLD instability issue for ULPI phy

For controller versions greater than 1.6, setting ULPI_PHY_CLK_SEL
bit when USB_EN bit is already set causes instability issues with
PHY_CLK_VLD bit. So USB_EN is set only for IP controller version
below 1.6 before setting ULPI_PHY_CLK_SEL bit

Signed-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-fsl.c