]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipa: get rid of some unneeded IPA interrupt code
authorAlex Elder <elder@linaro.org>
Tue, 27 Jul 2021 19:46:28 +0000 (14:46 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Jul 2021 20:02:06 +0000 (21:02 +0100)
commit8837b292825c130b981beeb75a3cc56d6be8c8b8
treed40255ca73951f6e0a0c562578bd7e2630f3bd9b
parentfd38d0f272b2b0b81c7eee7a900eae15306cdc00
net: ipa: get rid of some unneeded IPA interrupt code

The pending IPA interrupts are checked by ipa_isr_thread(), and
interrupts are processed only if an enabled interrupt has a
condition pending.  But ipa_interrupt_process_all() now makes the
same check, so the one in ipa_isr_thread() can just be skipped.

Also in ipa_isr_thread(), any interrupt conditions pending which are
not enabled are cleared.  Here too, ipa_interrupt_process_all() now
clears such excess interrupt conditions, so ipa_isr_thread() doesn't
have to.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipa/ipa_interrupt.c