commit | 31f62866c578b3d47ef7810b336e9e193b90167f | [log] [tgz] |
---|---|---|
author | Benoit Cousson <b-cousson@ti.com> | Fri Jul 01 22:54:05 2011 +0200 |
committer | Paul Walmsley <paul@pwsan.com> | Sat Jul 09 19:13:36 2011 -0600 |
tree | d30bbc66087a8c4ea5772603f19263a17df473ab | |
parent | d24bcaa3fa711f7dd9c4aacf3c58083cf666418f [diff] |
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 <b-cousson@ti.com> Signed-off-by: Paul Walmsley <paul@pwsan.com>