mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 06:33:19 -04:00
qcacmn: Use PLD APIs instead of ICNSS ones
Replace calls to ICNSS APIs with calls to PLD APIs, as per the new guidelines. Change-Id: Iccb8633ad5f6b493b2424acab98ba573f95f15c2 CRs-Fixed: 1070948
This commit is contained in:
parent
c037db985d
commit
6d9b757ac5
1 changed files with 3 additions and 3 deletions
|
|
@ -41,7 +41,7 @@
|
|||
#include <linux/interrupt.h>
|
||||
#ifdef HELIUMPLUS
|
||||
#include <soc/qcom/irq-helper.h>
|
||||
#include <soc/qcom/icnss.h> /* replace with pld when available */
|
||||
#include <pld_snoc.h>
|
||||
#endif
|
||||
#include <linux/pm.h>
|
||||
|
||||
|
|
@ -63,7 +63,7 @@ enum napi_decision_vector {
|
|||
#ifdef HELIUMPLUS
|
||||
static inline int hif_get_irq_for_ce(int ce_id)
|
||||
{
|
||||
return icnss_get_irq(ce_id);
|
||||
return pld_snoc_get_irq(ce_id);
|
||||
}
|
||||
#else /* HELIUMPLUS */
|
||||
static inline int hif_get_irq_for_ce(int ce_id)
|
||||
|
|
@ -1077,7 +1077,7 @@ retry_collapse:
|
|||
retry_disperse:
|
||||
while (i >= 0) {
|
||||
if ((napid->napi_cpu[i].state == QCA_NAPI_CPU_UP) &&
|
||||
(hweight32(napid->napi_cpu[i].napis) < smallest)) {
|
||||
(hweight32(napid->napi_cpu[i].napis) <= smallest)) {
|
||||
smallest = napid->napi_cpu[i].napis;
|
||||
smallidx = i;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue