mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
cnss2: Assert if cold boot calibration times out in debug builds
In order to debug cold boot calibration timeout issues, assert when it happens in debug builds. Change-Id: I4ea6ade5fd660e29da2661b95fac2af02758546e Signed-off-by: Yue Ma <yuem@codeaurora.org>
This commit is contained in:
parent
f9c0b494bb
commit
8b8f86a082
1 changed files with 1 additions and 0 deletions
|
|
@ -2093,6 +2093,7 @@ int cnss_wlan_register_driver(struct cnss_wlan_driver *driver_ops)
|
|||
msecs_to_jiffies(timeout) << 2);
|
||||
if (!ret) {
|
||||
cnss_pr_err("Timeout waiting for calibration to complete\n");
|
||||
CNSS_ASSERT(0);
|
||||
|
||||
cal_info = kzalloc(sizeof(*cal_info), GFP_KERNEL);
|
||||
if (!cal_info)
|
||||
|
|
|
|||
Loading…
Reference in a new issue