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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Jan 2024 10:51:44 +0000 (11:51 +0100)
commitab65d383a57b5149060bad0e157f357283b1b62a
treef5646fe9b71dce3a097abe82385190df7a3202a5
parent296e487dd2155282bf48938664d351a5d239f3f2
ASoC: cs35l45: Prevent IRQ handling when suspending/resuming

[ Upstream commit c3c8b088949b9ccb88da2f84d3c3cc06580a6a43 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/codecs/cs35l45.c