From: Paul Walmsley Date: Thu, 25 Sep 2008 14:38:46 +0000 (-0600) Subject: OMAP3 clock: put DPLL into bypass if bypass rate = clk->rate, not hardware rate X-Git-Tag: v2.6.27-omap1~92 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b1f0bd44fe490ec631230c8c040753a2bda8caa;p=pandora-kernel.git OMAP3 clock: put DPLL into bypass if bypass rate = clk->rate, not hardware rate When a non-CORE DPLL is enabled via omap3_noncore_dpll_enable(), use the user's desired rate in clk->rate to determine whether to put the DPLL into bypass or lock mode, rather than reading the DPLL's current idle state from its hardware registers. This fixes a bug observed when leaving retention. Non-CORE DPLLs were not being relocked when downstream clocks re-enabled; rather, the DPLL entered bypass mode. Problem reported by Tero Kristo . Signed-off-by: Paul Walmsley Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed