From: Paul Walmsley Date: Tue, 30 Oct 2012 02:56:29 +0000 (-0600) Subject: ARM: OMAP2+: CM/clock: convert _omap2_module_wait_ready() to use SoC-independent... X-Git-Tag: omap-for-v3.8/fixes-non-critical-v2-signed~1^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4ceedcb18cf7a06059482a3a1828b9aad9f78cf;p=pandora-kernel.git ARM: OMAP2+: CM/clock: convert _omap2_module_wait_ready() to use SoC-independent CM functions Convert the OMAP clock code's _omap2_module_wait_ready() to use SoC-independent CM functions that are provided by the CM code, rather than using a deprecated function from mach-omap2/prcm.c. This facilitates the future conversion of the CM code to a driver, and also removes a mach-omap2/prcm.c user. mach-omap2/prcm.c will be removed by a subsequent patch. Some modules have IDLEST registers that aren't in the CM module, such as the AM3517 IDLEST bits. So we also need a fallback function for these non-CM odd cases. Create a temporary one in mach-omap2/clock.c, intended to exist until the SCM drivers are ready. Signed-off-by: Paul Walmsley Tested-by: Vaibhav Hiremath --- Reading git-diff-tree failed