android_kernel_xiaomi_sm8350/core/hdd
Rajeev Kumar fa4d902036 qcacld-3.0: Fix race condition between PM suspend and fw irq
PM suspend and FW interrupt handler is running at same time
which is leading to multiple race conditions and host is missing
FW wake up interrupt which is causing APPS not waking up reliably.

Define .suspend_noirq and .resume_noirq callbacks and make
sure there is no pending FW interrupt before allowing PM
suspend to complete. Kernel PM suspend framework gives guarantee
that suspend_noirq and device interrupt handler can't run
simultaneously. This helps WLAN driver to reliably detect FW
wake up interrupt during PM suspend and fail PM suspend gracefully
if FW has requested for initial wake up.

Change-Id: I9e55f58aee29017fe09efeb5231b8be23053f7b7
CRs-Fixed: 1060748
2016-09-02 18:23:58 -07:00
..
inc qcacld-3.0: Increase the max value for ini gEGAPWaitTime to 300000 2016-09-02 17:23:58 -07:00
src qcacld-3.0: Fix race condition between PM suspend and fw irq 2016-09-02 18:23:58 -07:00