mirror of
https://github.com/torvalds/linux.git
synced 2024-11-14 16:12:02 +00:00
ASoC: cs35l56: Call wm_adsp_power_down() before reloading firmware
When cs35l56_system_resume() needs to reload firmware it should call wm_adsp_power_down() to put cs_dsp into a powered-down state before cs35l56_secure_patch() or cs35l56_patch() calls wm_adsp_power_up(). Signed-off-by: Simon Trimmer <simont@opensource.cirrus.com> Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com> Link: https://lore.kernel.org/r/20230808164702.21272-6-rf@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
d0a3a6ad0d
commit
e24ef967c7
@ -976,6 +976,7 @@ int cs35l56_system_resume(struct device *dev)
|
||||
return ret;
|
||||
|
||||
cs35l56->base.fw_patched = false;
|
||||
wm_adsp_power_down(&cs35l56->dsp);
|
||||
queue_work(cs35l56->dsp_wq, &cs35l56->dsp_work);
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user