• Alex Elder's avatar
    net: ipa: get rid of some unneeded IPA interrupt code · fe6a3279
    Alex Elder authored
    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: default avatarAlex Elder <elder@linaro.org>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    fe6a3279
ipa_interrupt.c 7.69 KB