qcacmn: Use suspend_noirq callback instead of disabling irqs
Disabling the interrupts and setting them as wakeup sources does not work as expected. The pending interrupt gets trapped in sw and kernel does not check for it before finishing the suspend. Instead, use the suspend_noirq callback to guarantee that wakeup messages don't get processed without rejecting the suspend. Change-Id: I5ec5ce2a7e1b14c3d8477fe7aa0372c9ffd4dc0d CRs-Fixed: 1060880
This commit is contained in:

committed by
qcabuildsw

parent
e28261fdb1
commit
7fdff0c52f
@@ -573,6 +573,8 @@ bool hif_can_suspend_link(struct hif_opaque_softc *);
|
||||
|
||||
int hif_bus_resume(struct hif_opaque_softc *);
|
||||
int hif_bus_suspend(struct hif_opaque_softc *);
|
||||
int hif_bus_resume_noirq(struct hif_opaque_softc *);
|
||||
int hif_bus_suspend_noirq(struct hif_opaque_softc *);
|
||||
|
||||
#ifdef FEATURE_RUNTIME_PM
|
||||
int hif_pre_runtime_suspend(struct hif_opaque_softc *hif_ctx);
|
||||
|
Reference in New Issue
Block a user