linux/sound/soc/intel/atom/sst
Hans de Goede bf642bf573
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>
2018-03-01 16:22:48 +00:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
sst_acpi.c ASoC: Intel: sst: Free streams on suspend, re-alloc on resume 2018-03-01 16:22:48 +00:00
sst_drv_interface.c ASoC: Intel: sst: Remove unused STREAM_DECODE and STREAM_RESET states 2018-03-01 16:22:46 +00:00
sst_ipc.c ASoC: intel: Don't print FW version repeatedly 2017-03-27 12:30:55 +01:00
sst_loader.c ASoC: intel: Kill BUG_ON() usage 2017-09-20 12:45:50 +01:00
sst_pci.c ASoC: Intel: constify pci_device_id. 2017-08-04 11:18:55 +01:00
sst_pvt.c ASoC: Intel: sst: Remove unnecessary sst_init_stream() function 2018-03-01 16:22:45 +00:00
sst_stream.c ASoC: Intel: sst: Free streams on suspend, re-alloc on resume 2018-03-01 16:22:48 +00:00
sst.c ASoC: Intel: sst: Free streams on suspend, re-alloc on resume 2018-03-01 16:22:48 +00:00
sst.h ASoC: Intel: sst: Free streams on suspend, re-alloc on resume 2018-03-01 16:22:48 +00:00