ASoC: rt711-sdca: fix for JD event handling in ClockStop Mode0
authorShuming Fan <shumingf@realtek.com>
Fri, 21 Jul 2023 09:07:11 +0000 (17:07 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 25 Jul 2023 11:09:59 +0000 (12:09 +0100)
commit23adeb7056acd4fd866969f4afb91441776cc4f5
tree6fa33a29ccda0966c10a09a77429b5e3f3f952ec
parentb69de265bd0e877015a00fbba453ef72af162e0f
ASoC: rt711-sdca: fix for JD event handling in ClockStop Mode0

When the system suspends, peripheral SDCA interrupts are disabled.
When system level resume is invoked, the peripheral SDCA interrupts
should be enabled to handle JD events.
Enable SDCA interrupts in resume sequence when ClockStop Mode0 is applied.

Signed-off-by: Shuming Fan <shumingf@realtek.com>
Reported-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Link: https://lore.kernel.org/r/20230721090711.128247-1-shumingf@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt711-sdca-sdw.c