• Alex Elder's avatar
    net: ipa: introduce a common microcontroller interrupt handler · e5709b7c
    Alex Elder authored
    
    
    The prototype for an IPA interrupt handler supplies the IPA
    interrupt ID, so it's possible to use a single function to handle
    any type of microcontroller interrupt.
    
    Introduce ipa_uc_interrupt_handler(), which calls the event or the
    response handler depending on the IRQ ID provided.  Register the new
    function as the handler for both microcontroller IPA interrupt types.
    
    The called functions don't use their "irq_id" arguments, so remove
    them.
    Signed-off-by: default avatarAlex Elder <elder@linaro.org>
    Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
    e5709b7c
ipa_uc.c 8.04 KB