diff options
| author | 2026-08-31 10:45:06 +0100 | |
|---|---|---|
| committer | 2026-08-31 14:16:54 +0100 | |
| commit | fbf2c660bac863f0ac372b677ee55bf775c94594 (patch) | |
| tree | 9a0d7472c54b52c0fb42a6d513b72c1844f678d4 /scripts/Makefile.thinlto | |
| parent | ASoC: sti: initialize IRQ lock before requesting IRQ (diff) | |
ASoC: cs35l56: Fix pm_runtime imbalance if suspending before first attach
Remove the check for init_done in cs35l56_sdw_system_suspend(). Instead,
protect the call to cs35l56_mask_soundwire_interrupts() to only be done
if the amp is currently enumerated.
This fixes a runtime imbalance if cs35l56_sdw_system_suspend() is called
before the first SoundWire attach. This would skip the call to
pm_runtime_force_suspend() in cs35l56_system_suspend(). But resume
unconditionally called pm_runtime_force_resume() leading to an imbalance.
cs35l56_system_suspend() doesn't have any dependency on completion of
cs35l56_init(), so there is no need for the skip on !init_done in
cs35l56_sdw_system_suspend().
Fixes: f9dc6b875ec0a ("ASoC: cs35l56: Add basic system suspend handling")
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://patch.msgid.link/20260831094506.57467-1-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
