From: Benoit Cousson Date: Fri, 1 Jul 2011 20:54:05 +0000 (+0200) Subject: OMAP2+: hwmod: Fix the HW reset management X-Git-Tag: v3.1-rc1~248^2~1^4^2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31f62866c578b3d47ef7810b336e9e193b90167f;p=pandora-kernel.git OMAP2+: hwmod: Fix the HW reset management The HW reset must be de-assert after the clocks are enabled but before waiting for the target to be ready. Otherwise the reset might not work properly since the clock is not running to proceed the reset. De-assert the reset after _enable_clocks and before _wait_target_ready. Re-assert it only when the clocks are disabled. Signed-off-by: Benoit Cousson Signed-off-by: Paul Walmsley --- Reading git-diff-tree failed