浏览代码

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: I2c78500e83eca7864029f58cffa80f8648902fb2
Signed-off-by: Meng Wang <[email protected]>
Meng Wang 5 年之前
父节点
当前提交
935e7fb95e
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      soc/swr-mstr-ctrl.c

+ 1 - 0
soc/swr-mstr-ctrl.c

@@ -1680,6 +1680,7 @@ handle_irq:
 					continue;
 				if (swr_dev->slave_irq) {
 					do {
+						swr_dev->slave_irq_pending = 0;
 						handle_nested_irq(
 							irq_find_mapping(
 							swr_dev->slave_irq, 0));