Skip to content

Commit 16e5fc8

Browse files
rfvirgilbroonie
authored andcommitted
ASoC: cs35l56: Update comment on masking of EINT20 interrupts
EINT20 contains wake-source interrupts and also interface-blocked interrupts, which all default to unmasked after reset or wake. The comment in cs35l56_init() only mentioned the wake interrupts. Update the comment so it's clear that it's intentional to also mask the *_BLOCKED interrupts. Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com> Link: https://lore.kernel.org/r/20230418144309.1100721-2-rf@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 3a5e13e commit 16e5fc8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sound/soc/codecs/cs35l56.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1537,7 +1537,7 @@ int cs35l56_init(struct cs35l56_private *cs35l56)
15371537

15381538
cs35l56_patch(cs35l56->dev, cs35l56->regmap, cs35l56->rev);
15391539

1540-
/* Wake source interrupts default to unmasked, so mask them */
1540+
/* Wake source and *_BLOCKED interrupts default to unmasked, so mask them */
15411541
regmap_write(cs35l56->regmap, CS35L56_IRQ1_MASK_20, 0xffffffff);
15421542
regmap_update_bits(cs35l56->regmap, CS35L56_IRQ1_MASK_1,
15431543
CS35L56_AMP_SHORT_ERR_EINT1_MASK,

0 commit comments

Comments
 (0)