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:
parent
e039f16fa4
commit
2586a4b195
1 changed files with 1 additions and 0 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue