diff options
author | Sachin Nikam <snikam@nvidia.com> | 2011-06-30 16:20:56 +0530 |
---|---|---|
committer | Niket Sirsi <nsirsi@nvidia.com> | 2011-07-07 12:21:27 -0700 |
commit | bd1d1019ff3d9a9523f2f9ef40518dcf8d0505af (patch) | |
tree | a78b45abcf42e453742e7a5f19495090c0180bb5 /arch | |
parent | aff370ab744ba0020002bde71541edebcd6133af (diff) |
ARM: tegra: early switch to default governor
In <board>_panel_late_resume() first switch to default
governor before fb_blank().
Bug 843845
Change-Id: Ic6e3bc1da10631fc8a4525e57039c94ee552f7d2
Signed-off-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-on: http://git-master/r/39193
Reviewed-by: Manoj Gangwal <mgangwal@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-tegra/board-cardhu-panel.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-tegra/board-enterprise-panel.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-tegra/board-ventana-panel.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-tegra/board-whistler-panel.c | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/arch/arm/mach-tegra/board-cardhu-panel.c b/arch/arm/mach-tegra/board-cardhu-panel.c index e7b27c86fe27..fec000e78e36 100644 --- a/arch/arm/mach-tegra/board-cardhu-panel.c +++ b/arch/arm/mach-tegra/board-cardhu-panel.c @@ -846,11 +846,11 @@ static void cardhu_panel_early_suspend(struct early_suspend *h) static void cardhu_panel_late_resume(struct early_suspend *h) { unsigned i; - for (i = 0; i < num_registered_fb; i++) - fb_blank(registered_fb[i], FB_BLANK_UNBLANK); #ifdef CONFIG_TEGRA_CONVSERVATIVE_GOV_ON_EARLYSUPSEND cpufreq_restore_default_governor(); #endif + for (i = 0; i < num_registered_fb; i++) + fb_blank(registered_fb[i], FB_BLANK_UNBLANK); } #endif diff --git a/arch/arm/mach-tegra/board-enterprise-panel.c b/arch/arm/mach-tegra/board-enterprise-panel.c index fa410f85fdb8..318bb6190780 100644 --- a/arch/arm/mach-tegra/board-enterprise-panel.c +++ b/arch/arm/mach-tegra/board-enterprise-panel.c @@ -554,11 +554,11 @@ static void enterprise_panel_early_suspend(struct early_suspend *h) static void enterprise_panel_late_resume(struct early_suspend *h) { unsigned i; - for (i = 0; i < num_registered_fb; i++) - fb_blank(registered_fb[i], FB_BLANK_UNBLANK); #ifdef CONFIG_TEGRA_CONVSERVATIVE_GOV_ON_EARLYSUPSEND cpufreq_restore_default_governor(); #endif + for (i = 0; i < num_registered_fb; i++) + fb_blank(registered_fb[i], FB_BLANK_UNBLANK); } #endif diff --git a/arch/arm/mach-tegra/board-ventana-panel.c b/arch/arm/mach-tegra/board-ventana-panel.c index cb9dd781b032..d30bf18426bc 100644 --- a/arch/arm/mach-tegra/board-ventana-panel.c +++ b/arch/arm/mach-tegra/board-ventana-panel.c @@ -347,11 +347,11 @@ static void ventana_panel_early_suspend(struct early_suspend *h) static void ventana_panel_late_resume(struct early_suspend *h) { unsigned i; - for (i = 0; i < num_registered_fb; i++) - fb_blank(registered_fb[i], FB_BLANK_UNBLANK); #ifdef CONFIG_TEGRA_CONVSERVATIVE_GOV_ON_EARLYSUPSEND cpufreq_restore_default_governor(); #endif + for (i = 0; i < num_registered_fb; i++) + fb_blank(registered_fb[i], FB_BLANK_UNBLANK); } #endif diff --git a/arch/arm/mach-tegra/board-whistler-panel.c b/arch/arm/mach-tegra/board-whistler-panel.c index f7b57e2ed5b8..2cb1702ddff6 100644 --- a/arch/arm/mach-tegra/board-whistler-panel.c +++ b/arch/arm/mach-tegra/board-whistler-panel.c @@ -310,11 +310,11 @@ static void whistler_panel_early_suspend(struct early_suspend *h) static void whistler_panel_late_resume(struct early_suspend *h) { unsigned i; - for (i = 0; i < num_registered_fb; i++) - fb_blank(registered_fb[i], FB_BLANK_UNBLANK); #ifdef CONFIG_TEGRA_CONVSERVATIVE_GOV_ON_EARLYSUPSEND cpufreq_restore_default_governor(); #endif + for (i = 0; i < num_registered_fb; i++) + fb_blank(registered_fb[i], FB_BLANK_UNBLANK); } #endif |