qcacld-2.0 to qcacld-3.0 propagation 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. Change-Id: Ie9aaf72fbced41f8d23640b9032a3c2236dc6826 CRs-fixed: 921373 |
||
---|---|---|
.. | ||
inc | ||
src |