Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit da3bfc5e authored by Runmin Wang's avatar Runmin Wang
Browse files

Revert "soc: qcom: Use a deferrable timer base for the msm watchdog"



This reverts commit bccd8899.

Watchdog timer is not disabled by hw when CPU went into idle.
Change watchdog timer to a deferrable timer will keep cpu from waking
up while all cores are idle which is a false positive. So change the
watchdog timer back to the normal timer.

Change-Id: I4864a74124fbb1b7ef815609664279317dfd18c7
Signed-off-by: default avatarRunmin Wang <runminw@codeaurora.org>
parent 5027ffca
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -693,7 +693,7 @@ static void init_watchdog_data(struct msm_watchdog_data *wdog_dd)
	wdog_dd->user_pet_complete = true;
	wdog_dd->user_pet_enabled = false;
	wake_up_process(wdog_dd->watchdog_task);
	init_timer_deferrable(&wdog_dd->pet_timer);
	init_timer(&wdog_dd->pet_timer);
	wdog_dd->pet_timer.data = (unsigned long)wdog_dd;
	wdog_dd->pet_timer.function = pet_task_wakeup;
	wdog_dd->pet_timer.expires = jiffies + delay_time;