qcacmn: Separate pdev detach processing as per pdev attach
Separate out pdev detach processing as ol_txrx_pdev_detach() and ol_txrx_pdev_pre_detach() corresponding to pdev attach functions ol_txrx_pdev_attach() and ol_txrx_pdev_post_attach() respectively. Change-Id: I7fdbe70ad8262a57b61a742fcfb2779e323172af CRs-Fixed: 2011937
This commit is contained in:

committad av
Sandeep Puligilla

förälder
b4ce09a734
incheckning
b7e3c980e5
@@ -97,6 +97,14 @@ static inline int cdp_pdev_post_attach(ol_txrx_soc_handle soc,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static inline void
|
||||
cdp_pdev_pre_detach(ol_txrx_soc_handle soc, struct cdp_pdev *pdev, int force)
|
||||
{
|
||||
if (soc->ops->cmn_drv_ops->txrx_pdev_pre_detach)
|
||||
return soc->ops->cmn_drv_ops->txrx_pdev_pre_detach(pdev, force);
|
||||
return;
|
||||
}
|
||||
|
||||
static inline void
|
||||
cdp_pdev_detach(ol_txrx_soc_handle soc, struct cdp_pdev *pdev, int force)
|
||||
{
|
||||
|
Referens i nytt ärende
Block a user