ASoC: cs35l45: Checks index of cs35l45_irqs[]
authorRicardo Rivera-Matos <rriveram@opensource.cirrus.com>
Thu, 31 Aug 2023 16:20:39 +0000 (11:20 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 11 Sep 2023 00:30:02 +0000 (01:30 +0100)
commit44f37b6ce041c838cb2f49f08998c41f1ab3b08c
tree337c67ef71512413032765b9001845810554c9f5
parentad191992330cfeb80ba341d1e75d9fe2719ced68
ASoC: cs35l45: Checks index of cs35l45_irqs[]

Checks the index computed by the virq offset before printing the
error condition in cs35l45_spk_safe_err() handler.

Signed-off-by: Ricardo Rivera-Matos <rriveram@opensource.cirrus.com>
Signed-off-by: Vlad Karpovich <vkarpovi@opensource.cirrus.com>
Acked-by: Ricardo Rivera-Matos <rriveram@opensource.cirrus.com>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20230831162042.471801-1-vkarpovi@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs35l45.c