soc: swr-mstr: reset slave pending irq flag before every call

Before every slave interrupt handler call, reset slave pending
irq flag, so that if irq is halted it does not retain the old
value.

Change-Id: Ibde5dacf38e78ab19afb6f0e91ffac81f6c22813
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
This commit is contained in:
Ramprasad Katkam 2019-03-18 16:53:39 +05:30 committed by Gerrit - the friendly Code Review server
parent e039f16fa4
commit 2586a4b195

View file

@ -1308,6 +1308,7 @@ static irqreturn_t swr_mstr_interrupt(int irq, void *dev)
continue;
if (swr_dev->slave_irq) {
do {
swr_dev->slave_irq_pending = 0;
handle_nested_irq(
irq_find_mapping(
swr_dev->slave_irq, 0));