ASoC: cs35l45: Prevent IRQ handling when suspending/resuming
authorRicardo Rivera-Matos <rriveram@opensource.cirrus.com>
Wed, 6 Dec 2023 16:03:17 +0000 (10:03 -0600)
committerMark Brown <broonie@kernel.org>
Wed, 6 Dec 2023 23:06:56 +0000 (23:06 +0000)
commitc3c8b088949b9ccb88da2f84d3c3cc06580a6a43
treef0356bae5c96f2faedbf79539a77fda479db8f80
parent12e102b1bd22ee00361559d57a5876445bcb2407
ASoC: cs35l45: Prevent IRQ handling when suspending/resuming

Use the SYSTEM_SLEEP_PM_OPS handlers to prevent handling an IRQ
when the system is in the middle of suspending or resuming.

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