Skip to content

Commit 98dc82a

Browse files
marcangregkh
authored andcommitted
ASoC: tas2764: Enable main IRQs
[ Upstream commit dd50f0e ] IRQ handling was added in commit dae191f ("ASoC: tas2764: Add IRQ handling") however that same commit masks all interrupts coming from the chip. Unmask the "main" interrupts so that we can see and deal with a number of errors including clock, voltage, and current. Fixes: dae191f ("ASoC: tas2764: Add IRQ handling") Reviewed-by: Neal Gompa <neal@gompa.dev> Signed-off-by: Hector Martin <marcan@marcan.st> Signed-off-by: James Calligeros <jcalligeros99@gmail.com> Link: https://patch.msgid.link/20250406-apple-codec-changes-v5-4-50a00ec850a3@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent d1c6610 commit 98dc82a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/soc/codecs/tas2764.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ static int tas2764_codec_probe(struct snd_soc_component *component)
564564
regmap_reinit_cache(tas2764->regmap, &tas2764_i2c_regmap);
565565

566566
if (tas2764->irq) {
567-
ret = snd_soc_component_write(tas2764->component, TAS2764_INT_MASK0, 0xff);
567+
ret = snd_soc_component_write(tas2764->component, TAS2764_INT_MASK0, 0x00);
568568
if (ret < 0)
569569
return ret;
570570

0 commit comments

Comments
 (0)