Преглед на файлове

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));