UPSTREAM: ASoC: Intel: sst: Free streams on suspend, re-alloc on resume
The Bay Trail SST-DSP firmware version looses track of all streams over a suspend/resume, failing any attempts to resume and/or free streams, with a SST_ERR_INVALID_STREAM_ID error. This commit adds support for free-ing the streams on suspend and re-allocating them on resume, fixing suspend/resume issues on devices using this firmware version. This new behavior gets triggered by a new flag in sst_platform_info which only gets set on Bay Trail platforms. This has been tested on the following devices: -Asus T100TA, Bay Trail + ALC5642 codec -Ployer MOMO7W, Bay Trail CR + ALC5652 codec Tested-by:Hans de Goede <hdegoede@redhat.com> Signed-off-by:
Hans de Goede <hdegoede@redhat.com> Signed-off-by:
Mark Brown <broonie@kernel.org> (cherry picked from commit bf642bf5) Signed-off-by:
Samaga Prasanna Krishna <samaga.krishna@intel.corp-partner.google.com> BUG=b:110025789 TEST=Test Audio use cases with full SOF 0.6 rebase release series applied. Change-Id: I61f2e1ac64690a6bea0590d66ab343bb62764ec8 Reviewed-on: https://chromium-review.googlesource.com/1353426 Commit-Ready: Curtis Malainey <cujomalainey@chromium.org> Tested-by:
Curtis Malainey <cujomalainey@chromium.org> Reviewed-by:
Curtis Malainey <cujomalainey@chromium.org>
Loading
Please sign in to comment