mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
qcacmn: Remove DP_INTR_POLL flag
Remove DP_INTR_POLL FLAG as polling is now handled runtime using hif_is_polled_mode_enabled. This is needed as 8074 works on interrupts whereas 6290 is still working on polling mode Change-Id: I0e7fdc338d462735dc216c929b1b5a99dc984435
This commit is contained in:
parent
08bf93bbaf
commit
e03102f60d
2 changed files with 1 additions and 9 deletions
|
|
@ -1178,7 +1178,6 @@ budget_done:
|
|||
return dp_budget - budget;
|
||||
}
|
||||
|
||||
#ifdef DP_INTR_POLL_BASED
|
||||
/* dp_interrupt_timer()- timer poll for interrupts
|
||||
*
|
||||
* @arg: SoC Handle
|
||||
|
|
@ -1243,12 +1242,6 @@ static QDF_STATUS dp_soc_attach_poll(void *txrx_soc)
|
|||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
#else
|
||||
static QDF_STATUS dp_soc_attach_poll(void *txrx_soc)
|
||||
{
|
||||
return -QDF_STATUS_E_NOSUPPORT;
|
||||
}
|
||||
#endif
|
||||
|
||||
static QDF_STATUS dp_soc_interrupt_attach(void *txrx_soc);
|
||||
#if defined(CONFIG_MCL)
|
||||
|
|
|
|||
|
|
@ -1478,10 +1478,9 @@ dp_rxdma_err_process(struct dp_soc *soc, uint32_t mac_id, uint32_t quota)
|
|||
uint32_t work_done = 0;
|
||||
uint32_t rx_bufs_used = 0;
|
||||
|
||||
#ifdef DP_INTR_POLL_BASED
|
||||
if (!pdev)
|
||||
return 0;
|
||||
#endif
|
||||
|
||||
err_dst_srng = pdev->rxdma_err_dst_ring[mac_for_pdev].hal_srng;
|
||||
|
||||
if (!err_dst_srng) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue