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

soc: soundwire: Set slave host_irq interrupt mask for all slaves

On receive of change enum slave status interrupt, update
slave host_irq bit for all attached slave dev_nums.

Change-Id: Idaad7a73a7ba9ab271f3fb6974f8d09df3f957b8
Signed-off-by: Laxminath Kasam <[email protected]>
Laxminath Kasam преди 5 години
родител
ревизия
44cedb8f7d
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      soc/swr-mstr-ctrl.c

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

@@ -1737,6 +1737,7 @@ handle_irq:
 			break;
 		case SWRM_INTERRUPT_STATUS_CHANGE_ENUM_SLAVE_STATUS:
 			status = swr_master_read(swrm, SWRM_MCP_SLV_STATUS);
+			swrm_enable_slave_irq(swrm);
 			if (status == swrm->slave_status) {
 				dev_dbg(swrm->dev,
 					"%s: No change in slave status: %d\n",