From: Paul Walmsley Date: Tue, 14 Sep 2010 21:56:53 +0000 (-0600) Subject: OMAP clockdomain: initialize clockdomain registers when the clockdomain layer starts X-Git-Tag: v2.6.37-rc1~121^2~55^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f7f63cc9adf3192e6fcac4e8bed5cc10fd924aa;p=pandora-kernel.git 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 did all the really hard work on this, identifying the problem and finding the bug. Signed-off-by: Paul Walmsley Signed-off-by: Kevin Hilman --- Reading git-diff-tree failed