mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
cnss2: Assert when power on retry reaches maximum
In order to catch the issue immediately, assert when power on retry for PCIe resume reaches maximum. Change-Id: Ie370e031e68721b531aae909f56bc45b9d9b59d8 Signed-off-by: Yue Ma <yuem@codeaurora.org>
This commit is contained in:
parent
6a91a7d54b
commit
74bb9a8d87
1 changed files with 2 additions and 0 deletions
|
|
@ -1990,6 +1990,8 @@ retry:
|
|||
msleep(POWER_ON_RETRY_DELAY_MS * retry);
|
||||
goto retry;
|
||||
}
|
||||
/* Assert when it reaches maximum retries */
|
||||
CNSS_ASSERT(0);
|
||||
goto power_off;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue