projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b2fe38
)
ASoC: rt298: Don't enable IRQ in i2c_probe
author
Bard Liao
<
[email protected]
>
Wed, 24 Feb 2016 07:51:27 +0000
(15:51 +0800)
committer
Mark Brown
<
[email protected]
>
Wed, 24 Feb 2016 08:24:34 +0000
(17:24 +0900)
The IRQ function should not be enabled before irq handler is registered.
In fact, it is done in rt298_probe. So remove it from rt298_i2c_probe.
Signed-off-by: Bard Liao <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
sound/soc/codecs/rt298.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/rt298.c
b/sound/soc/codecs/rt298.c
index e67ef5f8d4f3d4784b98ba71aadd9a6cbc4dfc78..f0e6c06e89ac0448afd7580245353b12acbb3d4f 100644
(file)
--- a/
sound/soc/codecs/rt298.c
+++ b/
sound/soc/codecs/rt298.c
@@
-1224,7
+1224,6
@@
static int rt298_i2c_probe(struct i2c_client *i2c,
regmap_write(rt298->regmap, RT298_MISC_CTRL1, 0x0000);
regmap_update_bits(rt298->regmap,
RT298_WIND_FILTER_CTRL, 0x0082, 0x0082);
- regmap_update_bits(rt298->regmap, RT298_IRQ_CTRL, 0x2, 0x2);
regmap_write(rt298->regmap, RT298_UNSOLICITED_INLINE_CMD, 0x81);
regmap_write(rt298->regmap, RT298_UNSOLICITED_HP_OUT, 0x82);