mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
Merge "msm: ipa3: Fix to remove max poll count in gsi isr handle"
This commit is contained in:
commit
c19f806104
1 changed files with 0 additions and 12 deletions
|
|
@ -776,13 +776,10 @@ static void gsi_handle_general(int ee)
|
|||
GSI_EE_n_CNTXT_GSI_IRQ_CLR_OFFS(ee));
|
||||
}
|
||||
|
||||
#define GSI_ISR_MAX_ITER 50
|
||||
|
||||
static void gsi_handle_irq(void)
|
||||
{
|
||||
uint32_t type;
|
||||
int ee = gsi_ctx->per.ee;
|
||||
unsigned long cnt = 0;
|
||||
int index;
|
||||
|
||||
while (1) {
|
||||
|
|
@ -830,15 +827,6 @@ static void gsi_handle_irq(void)
|
|||
if (type & GSI_EE_n_CNTXT_TYPE_IRQ_GENERAL_BMSK)
|
||||
gsi_handle_general(ee);
|
||||
|
||||
if (++cnt > GSI_ISR_MAX_ITER) {
|
||||
/*
|
||||
* Max number of spurious interrupts from hardware.
|
||||
* Unexpected hardware state.
|
||||
*/
|
||||
GSIERR("Too many spurious interrupt from GSI HW\n");
|
||||
GSI_ASSERT();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue