phy: lpc18xx-usb-otg: fix clock order in phy init
authorJoachim Eastwood <manabian@gmail.com>
Sat, 8 Aug 2015 22:02:41 +0000 (00:02 +0200)
committerKishon Vijay Abraham I <kishon@ti.com>
Mon, 10 Aug 2015 14:41:58 +0000 (20:11 +0530)
commitcfd093bbb5fe84ec8c7bb069fe618159a8b601f5
tree79774b2538a63a49374d9fc11e7805166ed0fe12
parent4a9e5ca1a54a3cb4a5f85359f646638cec567607
phy: lpc18xx-usb-otg: fix clock order in phy init

Changing the frequency of the USB clock must be done before the
PLL is powered on (prepared). This matters when the USB clock
is not setup by either boot ROM or boot loader. Reorder the
function calls to adhere to the order noted in the user manual.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/phy-lpc18xx-usb-otg.c