ARM: tegra: stingray: Only enable bridge chip in resume on power button
authorColin Cross <ccross@android.com>
Fri, 21 Jan 2011 19:57:43 +0000 (11:57 -0800)
committerColin Cross <ccross@android.com>
Sat, 22 Jan 2011 03:08:27 +0000 (19:08 -0800)
commit9545efad09c5f9d4a7d21e7a895efe837cad829f
treef3897fafba8e697bb7e308da08c5ec671d44ec72
parentd17c6bd22c757c184f68f841d1180f6a86d8c94c
ARM: tegra: stingray: Only enable bridge chip in resume on power button

Powering on the LVDS chip during resume when the resume was not caused by
the user pushing the power button causes the screen to flicker and wastes
power.  Only power on the LVDS chip if the power button event is detected
during resume.

Change-Id: I6a36e00a04c7a4e33bad08af20d485426f429264
Signed-off-by: Colin Cross <ccross@android.com>
arch/arm/mach-tegra/board-stingray-panel.c