usb: phy: omap_usb_phy: Fix USB3_PHY DPLL configuration
authorRoger Quadros <rogerq@ti.com>
Mon, 23 May 2016 14:37:50 +0000 (17:37 +0300)
committerTom Rini <trini@konsulko.com>
Fri, 3 Jun 2016 01:42:16 +0000 (21:42 -0400)
commit68a775a7665f8cec3c0f6f38179ef5b7eeb2fee0
tree97fc033048f78cf7cbacf8d756fa78aa529de9df
parent3599774eec9d06812c6124bcd0b34cebd7ec5e1c
usb: phy: omap_usb_phy: Fix USB3_PHY DPLL configuration

The index returned by get_sys_clk_index() is not exactly what we expect.
Let's not rely on that and use get_sys_clk_freq() instead.

This fixes missing USB3 devices in the Linux kernel when USB is started
in u-boot. It still doesn't fix missing USB3 devices in u-boot though.

Signed-off-by: Roger Quadros <rogerq@ti.com>
drivers/usb/phy/omap_usb_phy.c