소스 검색

asoc: wcd-irq: Use non-sync disable irq api

wcd interrupts can be disabled in the same interrupt
context. So use non-sync disable irq api for disabling the
interrupts to avoid a deadlock.

Change-Id: I82dda8dbcd80ba18674eea00686f6a4f54a3b340
Signed-off-by: Ramprasad Katkam <[email protected]>
Ramprasad Katkam 6 년 전
부모
커밋
6af0c159a1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      asoc/codecs/wcd-irq.c

+ 1 - 1
asoc/codecs/wcd-irq.c

@@ -101,7 +101,7 @@ void wcd_disable_irq(struct wcd_irq_info *irq_info, int irq)
 	if (!irq_info)
 		pr_err("%s: Null IRQ handle\n", __func__);
 	else
-		disable_irq(wcd_map_irq(irq_info, irq));
+		disable_irq_nosync(wcd_map_irq(irq_info, irq));
 }
 EXPORT_SYMBOL(wcd_disable_irq);