ARM: tegra: loki: enhance loki_wakeup_key
authorLouis Li <louli@nvidia.com>
Tue, 3 Dec 2013 07:40:15 +0000 (15:40 +0800)
committerBharat Nihalani <bnihalani@nvidia.com>
Wed, 4 Dec 2013 07:35:33 +0000 (23:35 -0800)
commit13345e7adab6d707f4c65b457dcc63d41c13a4f8
treeb4ab56ed3399f4e543c670ea5e173eda09cb614c
parent3df9d7048e73ffd5bf8b296c6f241696946c6a5d
ARM: tegra: loki: enhance loki_wakeup_key

Whether the wakeup is caused by power key or not should refer to the
GPIO_PQ0 bit not PWR_INT bit in the wake status register.

Bug 1416721

Change-Id: Iaa53a9c100ad31568fd199a8a441085e67d5f1af
Signed-off-by: Louis Li <louli@nvidia.com>
Reviewed-on: http://git-master/r/337658
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Yunfan Zhang <yunfanz@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
arch/arm/mach-tegra/board-loki-kbc.c