mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
qcacmn: Ignore sched watchdog timeout incase of recovery
For some targets, whenever the recovery is triggered in the scheduler thread context, in the same context the firmware dump collection could also happen and can more time than the watchdog timeout for the same. So check and ignore watchdog timeout when the recovery is already inprogress. Change-Id: I0e74e73139a83c6361407fe2eef8d6d0cf2a5d8c CRs-Fixed: 2718984
This commit is contained in:
parent
a6029b9c59
commit
6d768494e5
1 changed files with 6 additions and 0 deletions
|
|
@ -20,6 +20,7 @@
|
|||
#include <scheduler_core.h>
|
||||
#include <qdf_atomic.h>
|
||||
#include <qdf_module.h>
|
||||
#include <qdf_platform.h>
|
||||
|
||||
QDF_STATUS scheduler_disable(void)
|
||||
{
|
||||
|
|
@ -64,6 +65,11 @@ static void scheduler_watchdog_timeout(void *arg)
|
|||
{
|
||||
struct scheduler_ctx *sched = arg;
|
||||
|
||||
if (qdf_is_recovering()) {
|
||||
sched_debug("Recovery is in progress ignore timeout");
|
||||
return;
|
||||
}
|
||||
|
||||
scheduler_watchdog_notify(sched);
|
||||
if (sched->sch_thread)
|
||||
qdf_print_thread_trace(sched->sch_thread);
|
||||
|
|
|
|||
Loading…
Reference in a new issue