OMAP clockdomain: initialize clockdomain registers when the clockdomain layer starts
authorPaul Walmsley <paul@pwsan.com>
Tue, 14 Sep 2010 21:56:53 +0000 (15:56 -0600)
committerKevin Hilman <khilman@deeprootsystems.com>
Fri, 24 Sep 2010 00:14:12 +0000 (17:14 -0700)
commit6f7f63cc9adf3192e6fcac4e8bed5cc10fd924aa
treed34dc26cebfd4bcf78fb70063ff2086c351914fc
parenteb6a2c7550560e6619eadb912ea8384ce27964b8
OMAP clockdomain: initialize clockdomain registers when the clockdomain layer starts

When the clockdomain layer initializes, place all clockdomains into
software-supervised mode, and clear all wakeup and sleep dependencies
immediately, rather than waiting for the PM code to do this later.
This fixes a major bug where critical sleep dependencies added by the
hwmod code are cleared during late PM init.

As a side benefit, the _init_{wk,sleep}dep_usecount() functions are no
longer needed, so remove them.

Kevin Hilman <khilman@deeprootsystems.com> did all the really hard work on
this, identifying the problem and finding the bug.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-omap2/clockdomain.c
arch/arm/mach-omap2/pm34xx.c
This page took 0.025647 seconds and 5 git commands to generate.