浏览代码

asoc: wsa883x: add slave_irq for wsa883x

Interrupt from wsa883x are not handled as slave_irq is not set.
Add slave_irq for wsa883x to address this issue.
(cherry-picked from commit ddfc43e7c48dcbe9bbae45b5caacdd5bca441800)

Change-Id: I6b56aa88cca895e4e0e5871a7478f6859d45b03f
Signed-off-by: Phani Kumar Uppalapati <[email protected]>
Phani Kumar Uppalapati 3 年之前
父节点
当前提交
cd3f734089
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      asoc/codecs/wsa883x/wsa883x.c

+ 1 - 0
asoc/codecs/wsa883x/wsa883x.c

@@ -1763,6 +1763,7 @@ static int wsa883x_swr_probe(struct swr_device *pdev)
 			__func__, ret);
 		goto dev_err;
 	}
+    wsa883x->swr_slave->slave_irq = wsa883x->virq;
 
 	wcd_request_irq(&wsa883x->irq_info, WSA883X_IRQ_INT_SAF2WAR,
 			"WSA SAF2WAR", wsa883x_saf2war_handle_irq, wsa883x);