FROMGIT: mfd: cs42l43: Disable IRQs during suspend
The ASoC CODEC driver masks the IRQs whilst entering and exiting system suspend to avoid issues where the IRQ handler can run but PM runtime is disabled. However, as the IRQs could also be used from other parts of the driver, it would be better to move this handling to the MFD level. Remove the handling from the ASoC driver and move it to the MFD driver. Whilst moving also ensure the IRQs are all masked at the device level before powering down the device, as per hardware recommendations. (cherry picked from commit 3fe0ab71cede10b89cb4a3337bb245fdf47e740c https://github.com/CirrusLogic/linux-drivers v6.12-cs42l43-cs35l56) Signed-off-by:Charles Keepax <ckeepax@opensource.cirrus.com> Acked-by:
Mark Brown <broonie@kernel.org.> Link: https://lore.kernel.org/r/20241014095202.828194-1-ckeepax@opensource.cirrus.com Signed-off-by:
Lee Jones <lee@kernel.org> Change-Id: Iac20379db78312d9b20e91a8f9ec6a1348c54a09 Signed-off-by:
Charles Keepax <ckeepax@opensource.cirrus.com> Signed-off-by:
Tongtong Pan <pantongtong@huaqin.corp-partner.google.com>
Loading
Please sign in to comment