]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit23f9a12e2ab1fc02fef3e3a0d4b295002eb503c9
tree79774b2538a63a49374d9fc11e7805166ed0fe12
parentf0d60e7b157600567e28c9dfc0e252ff62409e15
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