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)
commit30d1ef623fd1e99bc1bab5211ba1da0d97d40e64
tree258bd7a69ff0fd8f529b9d6f49bd81ea8fe3e0f1
parent63bb50bdb997f4bede1b5f2d56645f393f7f39fb
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