diff options
author | John Grossman <johngro@google.com> | 2011-10-26 12:17:12 -0700 |
---|---|---|
committer | Ziyann <jaraidaniel@gmail.com> | 2014-10-01 12:59:18 +0200 |
commit | 2619b5aaf2f7abc9ae42d8671a354f54305daf2a (patch) | |
tree | a50cbf8bebf1e6e0f0bbabf5db4e6107a2e534fe /arch/arm/mach-omap2 | |
parent | 218672e91e699bc234d86d683bb53ce97b13deb8 (diff) | |
download | kernel_samsung_tuna-2619b5aaf2f7abc9ae42d8671a354f54305daf2a.zip kernel_samsung_tuna-2619b5aaf2f7abc9ae42d8671a354f54305daf2a.tar.gz kernel_samsung_tuna-2619b5aaf2f7abc9ae42d8671a354f54305daf2a.tar.bz2 |
OMAP: process tput request made before PM init.
Because driver load order is uncertain, drivers could request bus
throughput constraints before the PM subsystem had initialized. The
constraints would be recorded, but would have no effect on the actual
L3 clock. This change suppresses attempts to set L3 scaling before PM
has initialized, and causes the PM subsystem to apply any pending bus
throughput constraints immediately after it has initialized itself.
Change-Id: If2a1f5315b8c1b084e4e4b3ce8e6844d92dd59b6
Signed-off-by: John Grossman <johngro@google.com>
Signed-off-by: Ruslan Bilovol <ruslan.bilovol@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r-- | arch/arm/mach-omap2/pm34xx.c | 3 | ||||
-rwxr-xr-x | arch/arm/mach-omap2/pm44xx.c | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index 91613c5..6ee6966 100644 --- a/arch/arm/mach-omap2/pm34xx.c +++ b/arch/arm/mach-omap2/pm34xx.c @@ -922,6 +922,9 @@ static int __init omap3_pm_init(void) omap3_save_scratchpad_contents(); omap_pm_is_ready_status = true; + + /* apply any pending bus throughput requests */ + omap_pm_apply_min_bus_tput(); err1: return ret; err2: diff --git a/arch/arm/mach-omap2/pm44xx.c b/arch/arm/mach-omap2/pm44xx.c index f06b50d..adf6eac 100755 --- a/arch/arm/mach-omap2/pm44xx.c +++ b/arch/arm/mach-omap2/pm44xx.c @@ -1715,6 +1715,9 @@ static int __init omap4_pm_init(void) } } + /* apply any pending bus throughput requests */ + omap_pm_apply_min_bus_tput(); + err2: return ret; } |