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

Commit eb7475c3 authored by Mohammed Khajapasha's avatar Mohammed Khajapasha
Browse files

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



This reverts commit 2eb54a74 ("soc: qcom: Use a deferrable
timer base for the msm watchdog"),as there is no need to make
watchdog pet timer, a deferrable one.

Change-Id: I835ca8b99ac1bd4199b74817c128b5fb7c4a9cce
Signed-off-by: default avatarMohammed Khajapasha <mkhaja@codeaurora.org>
parent e5c91c68
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -572,7 +572,7 @@ static void init_watchdog_data(struct msm_watchdog_data *wdog_dd)
	mutex_init(&wdog_dd->disable_lock);
	mutex_init(&wdog_dd->disable_lock);
	init_completion(&wdog_dd->pet_complete);
	init_completion(&wdog_dd->pet_complete);
	wake_up_process(wdog_dd->watchdog_task);
	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.data = (unsigned long)wdog_dd;
	wdog_dd->pet_timer.function = pet_task_wakeup;
	wdog_dd->pet_timer.function = pet_task_wakeup;
	wdog_dd->pet_timer.expires = jiffies + delay_time;
	wdog_dd->pet_timer.expires = jiffies + delay_time;