]> asedeno.scripts.mit.edu Git - linux.git/commit
ASoC: Intel: sst: Add sst_realloc_stream() function
authorHans de Goede <hdegoede@redhat.com>
Sun, 18 Feb 2018 22:01:42 +0000 (23:01 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 1 Mar 2018 16:22:47 +0000 (16:22 +0000)
commit473858cad1ea3d4e6c287bad23961cd5fb7382d9
tree97b38da4b7918e37b2b4944b13b54f1bfc345cea
parentde9833476de7eb1d4b8bdc599cbbd616fb0e1a28
ASoC: Intel: sst: Add sst_realloc_stream() function

Move the struct snd_sst_alloc_mrfld alloc parameters from the stack
into struct stream_info and add a new sst_realloc_stream() function which
can re-alloc a stream with the same parameters as before.

This is a preparation patch for fixing suspend/resume issues with some
SST / DSP firmware versions.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/atom/sst/sst.h
sound/soc/intel/atom/sst/sst_stream.c