From: Roger Quadros Date: Tue, 9 Jul 2013 11:38:31 +0000 (+0300) Subject: usb: phy: omap-usb3: Improve DPLL parameter lookup code X-Git-Tag: v3.12-rc1~186^2~77^2~61 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=519c6013d356fef95c9e45cfb533b3e68b47dbf4;p=pandora-kernel.git usb: phy: omap-usb3: Improve DPLL parameter lookup code Use a mapping table (dpll_map) to match the possible system clock rates to the appropriate DPLL parameters. Introduce a function "omap_usb3_get_dpll_params()" that will return the matching DPLL parameters for the given clock rate. Also, bail out on phy init if DPLL locking fails. Signed-off-by: Roger Quadros Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed