summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Mayo <jmayo@nvidia.com>2011-09-20 18:56:09 -0700
committerSimone Willett <swillett@nvidia.com>2011-09-26 10:47:24 -0700
commitcf5d83a14af135bfe181294433006fd4018dcdd9 (patch)
tree67c13232841d08622eea827a9fb85531b3457561
parent5c01c2e99b44ed52cda27695b2a70a2beb5b7d45 (diff)
arm: tegra: enterprise: HDMI audio while screen is blank
continue to play HDMI audio past earlysuspend (when internal screen is powered down). this is accomplished by using FB_BLANK_NORMAL on HDMI display in earlysuspend instead of FB_BLANK_POWERDOWN. bug 857117 bug 868916 Change-Id: I57a53db640458a086e3ef2aeacd8ef3c7ab552e9 Reviewed-on: http://git-master/r/53625 Reviewed-by: Jon Mayo <jmayo@nvidia.com> Tested-by: Jon Mayo <jmayo@nvidia.com>
-rw-r--r--arch/arm/mach-tegra/board-enterprise-panel.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/board-enterprise-panel.c b/arch/arm/mach-tegra/board-enterprise-panel.c
index 89b658c84aee..f37b5f2e32b8 100644
--- a/arch/arm/mach-tegra/board-enterprise-panel.c
+++ b/arch/arm/mach-tegra/board-enterprise-panel.c
@@ -705,8 +705,12 @@ struct early_suspend enterprise_panel_early_suspender;
static void enterprise_panel_early_suspend(struct early_suspend *h)
{
unsigned i;
- for (i = 0; i < num_registered_fb; i++)
- fb_blank(registered_fb[i], FB_BLANK_POWERDOWN);
+
+ /* power down LCD, add use a black screen for HDMI */
+ if (num_registered_fb > 0)
+ fb_blank(registered_fb[0], FB_BLANK_POWERDOWN);
+ if (num_registered_fb > 1)
+ fb_blank(registered_fb[1], FB_BLANK_NORMAL);
#ifdef CONFIG_TEGRA_CONVSERVATIVE_GOV_ON_EARLYSUPSEND
cpufreq_save_default_governor();
cpufreq_set_conservative_governor();