diff options
author | Vijendar Mukunda <Vijendar.Mukunda@amd.com> | 2024-02-14 11:40:03 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-02-19 18:02:13 +0100 |
commit | 3c697ced399cac295c34c9611f05d04f4c951aa9 (patch) | |
tree | 17490061caefee588817046a30047dc2ff6d94fd /io_uring | |
parent | ASoC: amd: ps: refactor acp child platform device creation code (diff) | |
download | linux-3c697ced399cac295c34c9611f05d04f4c951aa9.tar.xz linux-3c697ced399cac295c34c9611f05d04f4c951aa9.zip |
ASoC: amd: ps: remove acp_reset flag
The earlier acp_reset flag is set to true in two instances as mentioned
below.
1. When active SoundWire manager instances power mode is set to
Power off mode when SoundWire configuration is selected.
2. For other acp configurations
As code being refactored and common function being used for scanning
SoundWire controller, acp_reset flag update logic is dropped.
Instead of it, check the SoundWire manager instance enable state, based on
it update sdw_en_stat flag which will be used to apply ACP init/de-init
sequence during suspend/resume callbacks based on flag set value when
SoundWire configuration is selected.
For other acp configurations, acp init/de-init will be called by default.
Refactor existing pm ops logic for SoundWire configuration and use
sdw_en_stat flag for invoking acp init/de-init sequence.
Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Link: https://msgid.link/r/20240214104014.1144668-3-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'io_uring')
0 files changed, 0 insertions, 0 deletions