While testing legacy Suspend on Skylake, we found few issues that require driver changes. This was tested with usermode apps and aplay.
We need to add RESUME capability in driver to let ALSA resume us, then HDA was not getting reconfigured upon resume so that is updated. CLDMA needs to be polled as that takes a little while like HDA DMA, also clear of registers is required per spec upon setup
Last one fixes resource leak upon failures by movng free call up (not related to suspend though but observed when we saw failures)
Jeeja KP (6): ASoC: Intel: Skylake: Add Resume capability in PCM info. ASoC: Intel: Skylake: Reconfigure HDA stream register in prepare/resume ASoC: Intel: Skylake: Fix to update bit depth for module params ASoC: Intel: Skylake: Add pcm capability to support 16/8k rates. ASoC: Intel: Skylake: Poll CLDMA RUN bit when set ASoC: Intel: Skylake: Clear stream registers before setting up stream
Vinod Koul (1): ASoC: Intel: Skylake: Move up pipe mem free
sound/soc/intel/skylake/skl-pcm.c | 22 +++++---- sound/soc/intel/skylake/skl-sst-cldma.c | 82 +++++++++++++++++++++------------ sound/soc/intel/skylake/skl-topology.c | 22 +++++++-- 3 files changed, 86 insertions(+), 40 deletions(-)