qcacmn: Add static compilation option to enable DP polling

Add static compilation option to enable DP polling irrespective of
HIF polling is enabled or not.

Change-Id: I64544a8f1a6f56eba9ddbf200c9157a165e68e9d
CRs-Fixed: 2292401
This commit is contained in:
Venkateswara Swamy Bandaru
2018-08-09 17:00:30 +05:30
committed by nshrivas
부모 ba57f10c4a
커밋 37ce7097c7

파일 보기

@@ -1263,6 +1263,12 @@ static QDF_STATUS dp_soc_interrupt_attach_wrapper(void *txrx_soc)
}
}
#else
#if defined(DP_INTR_POLL_BASED) && DP_INTR_POLL_BASED
static QDF_STATUS dp_soc_interrupt_attach_wrapper(void *txrx_soc)
{
return dp_soc_attach_poll(txrx_soc);
}
#else
static QDF_STATUS dp_soc_interrupt_attach_wrapper(void *txrx_soc)
{
struct dp_soc *soc = (struct dp_soc *)txrx_soc;
@@ -1273,6 +1279,7 @@ static QDF_STATUS dp_soc_interrupt_attach_wrapper(void *txrx_soc)
return dp_soc_interrupt_attach(txrx_soc);
}
#endif
#endif
static void dp_soc_interrupt_map_calculate_integrated(struct dp_soc *soc,
int intr_ctx_num, int *irq_id_map, int *num_irq_r)