From c59cdc295b618c1f0d55b905dff89d9b43469b07 Mon Sep 17 00:00:00 2001 From: Meng Wang Date: Tue, 28 Sep 2021 10:17:11 +0800 Subject: [PATCH] asoc: wsa883x: add slave_irq for wsa883x Interrupts from wsa883x are not handled because slave_irq is not set. Add slave_irq for wsa883x to address this issue. Change-Id: I1d9cb39bfe99b2b27a98cfe4876a233567c636cd Signed-off-by: Meng Wang --- asoc/codecs/wsa883x/wsa883x.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/asoc/codecs/wsa883x/wsa883x.c b/asoc/codecs/wsa883x/wsa883x.c index f68eee190533..9dca8cc950d8 100644 --- a/asoc/codecs/wsa883x/wsa883x.c +++ b/asoc/codecs/wsa883x/wsa883x.c @@ -1686,6 +1686,8 @@ static int wsa883x_swr_probe(struct swr_device *pdev) 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, NULL);