5f174f7886595f0d0c2a41ef02c7ea02497726f1

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: Ib16a4e86f2378a8ca3f7eaada54fc7a3d67a886b CRs-Fixed: 1060748
This is CNSS WLAN Host Driver for products starting from iHelium
Beskrivning
Languages
C
98.7%
C++
0.9%
Makefile
0.3%
Starlark
0.1%