Unverified Commit dd50f0e3 authored by Hector Martin's avatar Hector Martin Committed by Mark Brown
Browse files

ASoC: tas2764: Enable main IRQs



IRQ handling was added in commit dae191fb ("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: dae191fb ("ASoC: tas2764: Add IRQ handling")
Reviewed-by: default avatarNeal Gompa <neal@gompa.dev>
Signed-off-by: default avatarHector Martin <marcan@marcan.st>
Signed-off-by: default avatarJames Calligeros <jcalligeros99@gmail.com>
Link: https://patch.msgid.link/20250406-apple-codec-changes-v5-4-50a00ec850a3@gmail.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 592ab393
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -564,7 +564,7 @@ static int tas2764_codec_probe(struct snd_soc_component *component)
	regmap_reinit_cache(tas2764->regmap, &tas2764_i2c_regmap);

	if (tas2764->irq) {
		ret = snd_soc_component_write(tas2764->component, TAS2764_INT_MASK0, 0xff);
		ret = snd_soc_component_write(tas2764->component, TAS2764_INT_MASK0, 0x00);
		if (ret < 0)
			return ret;