qcacmn: Add api to set intermediate EP vote access
Add api to set intermediate EP vote access state. Make sure reg work handler is complete before setting intermediate vote access. Change-Id: Ib229d9af8b1e58505a9ae5fbf39aa912ca21a3c3 CRs-Fixed: 2994040
This commit is contained in:

کامیت شده توسط
Madan Koyyalamudi

والد
7aa5b3ebb7
کامیت
b7e633e910
@@ -48,7 +48,7 @@ typedef void __iomem *A_target_id_t;
|
||||
typedef void *hif_handle_t;
|
||||
|
||||
#if defined(HIF_IPCI) && defined(FEATURE_HAL_DELAYED_REG_WRITE)
|
||||
#define HIF_WORK_DRAIN_WAIT_CNT 10
|
||||
#define HIF_WORK_DRAIN_WAIT_CNT 50
|
||||
#endif
|
||||
|
||||
#define HIF_TYPE_AR6002 2
|
||||
@@ -1738,6 +1738,7 @@ hif_softc_to_hif_opaque_softc(struct hif_softc *hif_handle)
|
||||
|
||||
#if defined(HIF_IPCI) && defined(FEATURE_HAL_DELAYED_REG_WRITE)
|
||||
QDF_STATUS hif_try_prevent_ep_vote_access(struct hif_opaque_softc *hif_ctx);
|
||||
void hif_set_ep_intermediate_vote_access(struct hif_opaque_softc *hif_ctx);
|
||||
void hif_allow_ep_vote_access(struct hif_opaque_softc *hif_ctx);
|
||||
void hif_set_ep_vote_access(struct hif_opaque_softc *hif_ctx,
|
||||
uint8_t type, uint8_t access);
|
||||
@@ -1750,6 +1751,11 @@ hif_try_prevent_ep_vote_access(struct hif_opaque_softc *hif_ctx)
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
static inline void
|
||||
hif_set_ep_intermediate_vote_access(struct hif_opaque_softc *hif_ctx)
|
||||
{
|
||||
}
|
||||
|
||||
static inline void
|
||||
hif_allow_ep_vote_access(struct hif_opaque_softc *hif_ctx)
|
||||
{
|
||||
|
مرجع در شماره جدید
Block a user