ASoC: Intel: Skylake: simplify S3 resume flows
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Mon, 17 Oct 2022 20:49:44 +0000 (15:49 -0500)
committerMark Brown <broonie@kernel.org>
Tue, 18 Oct 2022 18:16:31 +0000 (19:16 +0100)
commitfac33cb5c12c58e031a5e2f8e3e8c7de8604a764
tree0618e0ea7d0ac5e149b6b3077549f639761bee65
parenta474dce8aa95752eed03436515e80425f630a9da
ASoC: Intel: Skylake: simplify S3 resume flows

Commit cce6c149eba3a ("ASoC: Intel: Skylake: add link management")
added a perfectly logical/symmetrical link handling for
'suspend_active' aka S0ix

However that commit also added a less obvious part, where during S3
resume the code will "turn off the links which are off before suspend"
as well as stop the cmd_io which is not started.

This sequence looks completely unnecessary and possibly wrong, remove it.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20221017204946.207986-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl.c