NVIDIA: SAUCE: clocksource: timer-tegra186: adjust WDT timing
This change disables WDT later on suspend and enables WDT earlier on resume. By extending the coverage of WDT, system crashes caused by drivers in their suspend()/suspend_late() and resume_early()/resume() callbacks leads to a power-on reset instead of hanging forever. Bug 5391604 Change-Id: I9b7c3bd626c80ab8f581b7bd1e58a4f3b85e8266 Signed-off-by: Pohsun Su <pohsuns@nvidia.com> Signed-off-by: Kartik Rajput <kkartik@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/3rdparty/canonical/linux-noble/+/3419906 Reviewed-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-by: Brad Griffis <bgriffis@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
c94e8e9df1
commit
e835e048ab
@@ -509,8 +509,9 @@ static int __maybe_unused tegra186_timer_resume(struct device *dev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static SIMPLE_DEV_PM_OPS(tegra186_timer_pm_ops, tegra186_timer_suspend,
|
||||
tegra186_timer_resume);
|
||||
static const struct dev_pm_ops tegra186_timer_pm_ops = {
|
||||
SET_NOIRQ_SYSTEM_SLEEP_PM_OPS(tegra186_timer_suspend, tegra186_timer_resume)
|
||||
};
|
||||
|
||||
static const struct tegra186_timer_soc tegra186_timer = {
|
||||
.num_timers = 10,
|
||||
|
||||
Reference in New Issue
Block a user