qcacld-3.0: Mark last busy in recieve for runtime pm
Scan was not going through. Change-Id: I37d02a88e29da9c4fa756cc46fc812f10c58fe00 CRs-Fixed: 935300
This commit is contained in:

committed by
Akash Patel

parent
cceec341a3
commit
226a3b1bfe
@@ -755,6 +755,7 @@ hif_pci_ce_recv_data(struct CE_handle *copyeng, void *ce_context,
|
|||||||
&hif_state->msg_callbacks_current;
|
&hif_state->msg_callbacks_current;
|
||||||
|
|
||||||
do {
|
do {
|
||||||
|
hif_pm_runtime_mark_last_busy(scn->hif_sc->dev);
|
||||||
cdf_nbuf_unmap_single(scn->cdf_dev,
|
cdf_nbuf_unmap_single(scn->cdf_dev,
|
||||||
(cdf_nbuf_t) transfer_context,
|
(cdf_nbuf_t) transfer_context,
|
||||||
CDF_DMA_FROM_DEVICE);
|
CDF_DMA_FROM_DEVICE);
|
||||||
|
@@ -228,5 +228,7 @@ static inline int hif_pm_runtime_resume(struct device *dev)
|
|||||||
return cnss_pm_runtime_request(dev, CNSS_PM_RUNTIME_RESUME);
|
return cnss_pm_runtime_request(dev, CNSS_PM_RUNTIME_RESUME);
|
||||||
}
|
}
|
||||||
#endif /* WLAN_OPEN_SOURCE */
|
#endif /* WLAN_OPEN_SOURCE */
|
||||||
|
#else
|
||||||
|
static inline void hif_pm_runtime_mark_last_busy(struct device *dev) { }
|
||||||
#endif /* FEATURE_RUNTIME_PM */
|
#endif /* FEATURE_RUNTIME_PM */
|
||||||
#endif /* __ATH_PCI_H__ */
|
#endif /* __ATH_PCI_H__ */
|
||||||
|
Reference in New Issue
Block a user