Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ASoC: rt298: Don't enable IRQ in i2c_probe

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 <bardliao@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Bard Liao and committed by
Mark Brown
0ce58cd6 4b2fe382

-1
-1
sound/soc/codecs/rt298.c
··· 1224 1224 regmap_write(rt298->regmap, RT298_MISC_CTRL1, 0x0000); 1225 1225 regmap_update_bits(rt298->regmap, 1226 1226 RT298_WIND_FILTER_CTRL, 0x0082, 0x0082); 1227 - regmap_update_bits(rt298->regmap, RT298_IRQ_CTRL, 0x2, 0x2); 1228 1227 1229 1228 regmap_write(rt298->regmap, RT298_UNSOLICITED_INLINE_CMD, 0x81); 1230 1229 regmap_write(rt298->regmap, RT298_UNSOLICITED_HP_OUT, 0x82);