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

34 lines
1.1 KiB
Diff

From 5aceb533b93278050c6b03257f875dfa70cce285 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 267/550] 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
index c5c3ee4d3182..6b03996c410e 100644
--- a/sound/soc/codecs/rt274.c
+++ b/sound/soc/codecs/rt274.c
@@ -1179,6 +1179,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);
@@ -1188,6 +1189,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,
--
2.19.1