Explorar o código

asoc: wsa884x: add slave_irq for wsa884x

Interrupt from wsa884x are not handle as slave_irq is not set.
Add slave_irq for wsa884x to address this issue.

Change-Id: I82edb35b55f6a46d79bd96b7f0f4bfac58583860
Signed-off-by: Prasad Kumpatla <[email protected]>
Prasad Kumpatla %!s(int64=3) %!d(string=hai) anos
pai
achega
4ed625474c
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      asoc/codecs/wsa884x/wsa884x.c

+ 2 - 0
asoc/codecs/wsa884x/wsa884x.c

@@ -1938,6 +1938,8 @@ static int wsa884x_swr_probe(struct swr_device *pdev)
 		goto dev_err;
 	}
 
+	wsa884x->swr_slave->slave_irq = wsa884x->virq;
+
 	wcd_request_irq(&wsa884x->irq_info, WSA884X_IRQ_INT_SAF2WAR,
 			"WSA SAF2WAR", wsa884x_saf2war_handle_irq, NULL);