qcacmn: cancel target sleep timer in hif suspend callback
According to PCIe controller suspend logic, RC will disable its regulator and clock in suspend phase that means in noirq suspend phase, client EP should not access PCIe bus anymore. Target sleep timer will access soc register, so wlan driver needs guarantee this timer is stopped after RC shutdown its power and clock. CRs-Fixed: 2376675 Change-Id: If76abab1fd4d8d6f36beb13d1b62a7e0a0e7aa4f
这个提交包含在:
@@ -2532,6 +2532,8 @@ void hif_pci_prevent_linkdown(struct hif_softc *scn, bool flag)
|
||||
*/
|
||||
int hif_pci_bus_suspend(struct hif_softc *scn)
|
||||
{
|
||||
/* Stop the HIF Sleep Timer */
|
||||
hif_cancel_deferred_target_sleep(scn);
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -2598,9 +2600,6 @@ int hif_pci_bus_suspend_noirq(struct hif_softc *scn)
|
||||
if (hif_drain_tasklets(scn) != 0)
|
||||
return -EBUSY;
|
||||
|
||||
/* Stop the HIF Sleep Timer */
|
||||
hif_cancel_deferred_target_sleep(scn);
|
||||
|
||||
if (hif_can_suspend_link(GET_HIF_OPAQUE_HDL(scn)))
|
||||
qdf_atomic_set(&scn->link_suspended, 1);
|
||||
|
||||
|
在新工单中引用
屏蔽一个用户