qcacmn: Add a cdp api to stop the ppe ds
Add a cdp api to stop the ppe direct switch from control path Change-Id: Id1c5d5c0e2b80d6fa0fa7b907fac133f815f9627 CRs-Fixed: 3356472
This commit is contained in:

committed by
Madan Koyyalamudi

parent
ea0e2133b3
commit
3548804a60
@@ -1717,6 +1717,25 @@ static inline void cdp_txrx_intr_detach(ol_txrx_soc_handle soc)
|
||||
soc->ops->cmn_drv_ops->txrx_intr_detach(soc);
|
||||
}
|
||||
|
||||
/**
|
||||
* cdp_txrx_ppeds_stop(): function to stop ppeds
|
||||
* @soc: soc handle
|
||||
*/
|
||||
static inline void cdp_txrx_ppeds_stop(ol_txrx_soc_handle soc)
|
||||
{
|
||||
if (!soc || !soc->ops) {
|
||||
dp_cdp_debug("Invalid Instance:");
|
||||
QDF_BUG(0);
|
||||
return;
|
||||
}
|
||||
|
||||
if (!soc->ops->cmn_drv_ops ||
|
||||
!soc->ops->cmn_drv_ops->txrx_ppeds_stop)
|
||||
return;
|
||||
|
||||
soc->ops->cmn_drv_ops->txrx_ppeds_stop(soc);
|
||||
}
|
||||
|
||||
/**
|
||||
* cdp_txrx_umac_reset_deinit(): De-initialize UMAC HW reset module
|
||||
* @soc: soc handle
|
||||
|
Reference in New Issue
Block a user