qcacmn: ifdef hif_pm_runtime_mark_last_busy call from ce file
fixes a compilation error for snoc. Change-Id: Ie451904aa53a9be37f1fe6d070b19307a8f74fea CRs-Fixed: 978746
This commit is contained in:

committed by
Vishwajith Upendra

parent
32bc8eb686
commit
e02e12d156
@@ -760,13 +760,17 @@ hif_pci_ce_recv_data(struct CE_handle *copyeng, void *ce_context,
|
||||
struct HIF_CE_state *hif_state = pipe_info->HIF_CE_state;
|
||||
struct CE_state *ce_state = (struct CE_state *) copyeng;
|
||||
struct hif_softc *scn = HIF_GET_SOFTC(hif_state);
|
||||
struct hif_pci_softc *hif_sc = HIF_GET_PCI_SOFTC(hif_state);
|
||||
#ifdef HIF_PCI
|
||||
struct hif_pci_softc *hif_pci_sc = HIF_GET_PCI_SOFTC(hif_state);
|
||||
#endif
|
||||
struct hif_msg_callbacks *msg_callbacks =
|
||||
&hif_state->msg_callbacks_current;
|
||||
uint32_t count;
|
||||
|
||||
do {
|
||||
hif_pm_runtime_mark_last_busy(hif_sc->dev);
|
||||
#ifdef HIF_PCI
|
||||
hif_pm_runtime_mark_last_busy(hif_pci_sc->dev);
|
||||
#endif
|
||||
qdf_nbuf_unmap_single(scn->qdf_dev,
|
||||
(qdf_nbuf_t) transfer_context,
|
||||
QDF_DMA_FROM_DEVICE);
|
||||
|
Reference in New Issue
Block a user