mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
qcacld-3.0: Move panic messages into QDF_DEBUG_PANIC
QDF_DEBUG_PANIC has recently gained a reason parameter. Move instance of logging followed immediately by QDF_DEBUG_PANIC to single calls. Change-Id: I6633296fb1c82a3945cedc967de222410b9f5d9b CRs-Fixed: 2274413
This commit is contained in:
parent
2b6c925995
commit
bec5806fea
1 changed files with 3 additions and 6 deletions
|
|
@ -517,12 +517,9 @@ suspend_recovery:
|
|||
continue;
|
||||
|
||||
resume_status = handler(psoc, arg);
|
||||
if (QDF_IS_STATUS_ERROR(resume_status)) {
|
||||
pmo_fatal("Non-recoverable failure occurred!");
|
||||
pmo_fatal("component %d failed to resume; status: %d",
|
||||
i, resume_status);
|
||||
QDF_DEBUG_PANIC();
|
||||
}
|
||||
if (QDF_IS_STATUS_ERROR(resume_status))
|
||||
QDF_DEBUG_PANIC("component %d failed resume; status:%d",
|
||||
i, resume_status);
|
||||
}
|
||||
|
||||
exit_with_status:
|
||||
|
|
|
|||
Loading…
Reference in a new issue