mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
cpuidle: tegra: Explicitly call pm_system_wakeup
During SC7 resume sometime wakekey interrupt is not generated even if wake key is pressed. So explicitly call pm_system_wakeup() which causes the system to resume from SC7. Bug 4449600 Change-Id: I8582ef22fb456f7b26b13515bce5e4874191b713 Signed-off-by: Preetham Chandru Ramchandra <pchandru@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3079822 Reviewed-by: Bhavesh Parekh <bparekh@nvidia.com> Reviewed-by: Bibek Basu <bbasu@nvidia.com> Tested-by: Bhavesh Parekh <bparekh@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
1d0f4c4ffc
commit
4008be04b4
@@ -105,6 +105,7 @@ static int tegra_auto_enter_s2idle_state(struct cpuidle_device *dev,
|
||||
pr_debug("%s: after HVC: GUEST_PAUSE_CMD, %d\n", __func__, boot_cpu_id);
|
||||
s2idle_sc7_state = CPUIDLE_TEGRA_AUTO_SC7_RESUME_START;
|
||||
cpumask_clear(&cpumask);
|
||||
pm_system_wakeup();
|
||||
} else {
|
||||
cpumask_test_and_set_cpu(cpu_id, &cpumask);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user