-
- Downloads
qcacld-2.0: Prevent runtime suspend untill clean-up completes
When runtime suspend fails because of wma_suspend_req() not
completing in time, PM runtime workqueue posts resume request to
MC thread to clean-up. If MC thread is busy or slow in processing
resume request and after the timeout Runtime PM framework posts
another suspend request then there may be race condition between
MC thread processing resume request (Or even suspend request) and
Runtime PM workqueue posting subsequent suspend request.
Synchronize subsequent suspend request by not allowing the
runtime suspend till resume requests completes in MC thread
context.
CRs-fixed: 921373
Git-commit: 6e0d3383b2e5c86c415fbb081b8d60e6e6a7ded5
Bug: 23785794
Signed-off-by:
Amarnath Hullur Subramanyam <amarnath@codeaurora.org>
Loading
Please register or sign in to comment