2019-03-29 14:12:17 +08:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
2018-10-16 02:05:43 +08:00
|
|
|
From: "Subhransu S. Prusty" <subhransu.s.prusty@intel.com>
|
|
|
|
Date: Thu, 30 Nov 2017 20:11:42 +0530
|
2019-03-29 14:12:17 +08:00
|
|
|
Subject: [PATCH] WA: Disable irq in rt274
|
2018-10-16 02:05:43 +08:00
|
|
|
|
|
|
|
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
|
2019-03-29 14:12:17 +08:00
|
|
|
index 6090f19..74415d5 100644
|
2018-10-16 02:05:43 +08:00
|
|
|
--- a/sound/soc/codecs/rt274.c
|
|
|
|
+++ b/sound/soc/codecs/rt274.c
|
2019-03-29 14:12:17 +08:00
|
|
|
@@ -1182,6 +1182,7 @@ static int rt274_i2c_probe(struct i2c_client *i2c,
|
2018-10-16 02:05:43 +08:00
|
|
|
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);
|
2019-03-29 14:12:17 +08:00
|
|
|
@@ -1191,6 +1192,7 @@ static int rt274_i2c_probe(struct i2c_client *i2c,
|
2018-10-16 02:05:43 +08:00
|
|
|
return ret;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
+#endif
|
|
|
|
|
|
|
|
ret = devm_snd_soc_register_component(&i2c->dev,
|
|
|
|
&soc_component_dev_rt274,
|
|
|
|
--
|
2019-04-08 18:08:36 +08:00
|
|
|
https://clearlinux.org
|
2018-10-16 02:05:43 +08:00
|
|
|
|