Jelajahi Sumber

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 tahun lalu
induk
melakukan
935e7fb95e
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  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));