clear-pkgs-linux-iot-lts2018/0383-WA-Disable-irq-in-rt27...

34 lines
1.1 KiB
Diff
Raw Normal View History

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: "Subhransu S. Prusty" <subhransu.s.prusty@intel.com>
Date: Thu, 30 Nov 2017 20:11:42 +0530
Subject: [PATCH] WA: Disable irq in rt274
Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com>
---
sound/soc/codecs/rt274.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sound/soc/codecs/rt274.c b/sound/soc/codecs/rt274.c
2020-10-27 02:14:06 +08:00
index 64a23a6fdcaa..10475caa0ea8 100644
--- a/sound/soc/codecs/rt274.c
+++ b/sound/soc/codecs/rt274.c
@@ -1183,6 +1183,7 @@ static int rt274_i2c_probe(struct i2c_client *i2c,
regmap_write(rt274->regmap, RT274_UNSOLICITED_HP_OUT, 0x81);
regmap_write(rt274->regmap, RT274_UNSOLICITED_MIC, 0x82);
+#if 0
if (rt274->i2c->irq) {
ret = request_threaded_irq(rt274->i2c->irq, NULL, rt274_irq,
IRQF_TRIGGER_HIGH | IRQF_ONESHOT, "rt274", rt274);
@@ -1192,6 +1193,7 @@ static int rt274_i2c_probe(struct i2c_client *i2c,
return ret;
}
}
+#endif
ret = devm_snd_soc_register_component(&i2c->dev,
&soc_component_dev_rt274,
--
https://clearlinux.org