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>
Sat, 5 Oct 2013 14:13:11 +0000 (07:13 -0700)
commit07fa74e048755aa8ff07a513e2362722a1c282e7
treecadb63b47c5551895a185fdc62944350d17d0e57
parent88b1befdb45f9f5aee5d00a22c4c06bdf5193d4e
fsl/usb: Resolve PHY_CLK_VLD instability issue for ULPI phy

commit ad1260e9fbf768d6bed227d9604ebee76a84aae3 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-fsl.c