ARM: OMAP: hwmod: revise deassert sequence
authorOmar Ramirez Luna <omar.luna@linaro.org>
Sun, 23 Sep 2012 23:28:21 +0000 (17:28 -0600)
committerPaul Walmsley <paul@pwsan.com>
Sun, 23 Sep 2012 23:28:21 +0000 (17:28 -0600)
commite8e96dff71efcf880d9fa446651b3c3db08957c4
treede621a0b58d670ca829baa76d90b4ab11b9d682b
parenteb05f691290e99ee0bd1672317d6add789523c1e
ARM: OMAP: hwmod: revise deassert sequence

For a reset sequence to complete cleanly, a module needs its
associated clocks to be enabled, otherwise the timeout check
in prcm code can print a false failure (failed to hardreset)
that occurs because the clocks aren't powered ON and the status
bit checked can't transition without them.

Signed-off-by: Omar Ramirez Luna <omar.luna@linaro.org>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/omap_hwmod.c