# \[PATCH\] ASoC: codec: wcd938x: Add irq config support

- From: Srinivasa Rao Mandadapu \<hidden\>
- Date: 2021-10-07 13:51:41 
- List: linux-devicetree
- Page: https://ratatoskr.run/linux-devicetree/2021/10/1534087
- Thread: https://ratatoskr.run/linux-arm-msm/2021/10/1534087/t.md

```text
This patch fixes compilation error in wcd98x codec driver.

Fixes: 045442228868 ("ASoC: codecs: wcd938x: add audio routing and Kconfig")

Signed-off-by: Venkata Prasad Potturu <redacted>
Signed-off-by: Srinivasa Rao Mandadapu <redacted>
---
 sound/soc/codecs/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig
index 82ee233..216cea0 100644
--- a/sound/soc/codecs/Kconfig
+++ b/sound/soc/codecs/Kconfig
@@ -1583,6 +1583,7 @@ config SND_SOC_WCD938X_SDW
 	tristate "WCD9380/WCD9385 Codec - SDW"
 	select SND_SOC_WCD938X
 	select SND_SOC_WCD_MBHC
+	select REGMAP_IRQ
 	depends on SOUNDWIRE
 	select REGMAP_SOUNDWIRE
 	help
-- 
Qualcomm India Private Limited, on behalf of Qualcomm Innovation Center, Inc.,
is a member of Code Aurora Forum, a Linux Foundation Collaborative Project.

```
