]> git.baikalelectronics.ru Git - kernel.git/commit
mailbox: bcm-pdc: Simplify interrupt handler logic
authorRob Rice <rob.rice@broadcom.com>
Mon, 14 Nov 2016 18:26:04 +0000 (13:26 -0500)
committerJassi Brar <jaswinder.singh@linaro.org>
Mon, 19 Dec 2016 14:40:22 +0000 (20:10 +0530)
commit049bb5e2c935db89e6158bfcff5a236ab6eda16b
tree258bd7a69ff0fd8f529b9d6f49bd81ea8fe3e0f1
parent4d015db741fd87aa06bc3ad2eb67435e023140e8
mailbox: bcm-pdc: Simplify interrupt handler logic

Earlier versions of the PDC driver registered for both
transmit and receive interrupts. The hard IRQ handler had to
communicate to the soft handler which interrupt(s) had occurred.
The PDC driver no longer registers for tx interrupts. So there is
no reason to save the intstatus. So remove the intstatus member
of the PDC state.

Signed-off-by: Rob Rice <rob.rice@broadcom.com>
Reviewed-by: Andy Gospodarek <gospo@broadcom.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/bcm-pdc-mailbox.c