summaryrefslogtreecommitdiff
path: root/uapi/linux/osapi_linux.h
diff options
context:
space:
mode:
authorRajeev Kumar <rajekuma@codeaurora.org>2016-08-29 13:53:52 -0700
committerqcabuildsw <qcabuildsw@localhost>2016-09-15 16:51:43 -0700
commit99805a7ac332e3a1c9922b28478d7ffca423013a (patch)
tree6cb4cb77257a5f47dfed9cf1d7516962a84b773c /uapi/linux/osapi_linux.h
parent22896aa1931d36757c4a209a1b73e4d556dad22b (diff)
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: Ic82d7dd6b6b743dd3f55b036e012ad0c8bebd50d CRs-Fixed: 1060748
Diffstat (limited to 'uapi/linux/osapi_linux.h')
0 files changed, 0 insertions, 0 deletions