summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor(Weiguo) Pan <wpan@nvidia.com>2010-08-25 11:24:33 -0700
committerYu-Huan Hsu <yhsu@nvidia.com>2010-09-16 20:52:50 -0700
commit42775c2b0e8d044aa63114b9a253c6619a958f0a (patch)
tree6e84fa1675a3da8f1af7d8b06c9249a7b4a71058
parentc5d641416b8fd392e10750433b01c7e44966ca02 (diff)
[ARM/tegra] RM: Wake Source Information
Print out wake status when resuming back from LP0. Bug 725727 Change-Id: Iede6aa7314e4912ff7ccadccbab90f097deab893 Reviewed-on: http://git-master.nvidia.com/r/6549 Tested-by: Victor (Weiguo) Pan <wpan@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
-rw-r--r--arch/arm/mach-tegra/nvrm/core/common/nvrm_power.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/nvrm/core/common/nvrm_power.c b/arch/arm/mach-tegra/nvrm/core/common/nvrm_power.c
index 4845def3123e..e1936360e7ac 100644
--- a/arch/arm/mach-tegra/nvrm/core/common/nvrm_power.c
+++ b/arch/arm/mach-tegra/nvrm/core/common/nvrm_power.c
@@ -793,7 +793,8 @@ ReportRmPowerState(NvRmDeviceHandle hRmDeviceHandle)
switch (OldRmState)
{
case NvRmPowerState_LP0:
- NvOsDebugPrintf("*** Wakeup from LP0 ***\n");
+ NvOsDebugPrintf("*** Wakeup from LP0 *** wake-source: 0x%x\n",
+ NV_REGR(hRmDeviceHandle, NvRmModuleID_Pmif, 0, 0x14));
PowerEventNotify(hRmDeviceHandle, NvRmPowerEvent_WakeLP0);
break;
case NvRmPowerState_LP1: