diff options
| author | Mark Brown <[email protected]> | 2021-09-20 15:46:54 +0100 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2021-09-20 15:46:54 +0100 |
| commit | cca46db7e2da12b823ee137d46824e0d6f936877 (patch) | |
| tree | 389ffedf0b54543ce2ec5c4127642448ea9c312d /tools/perf/scripts/python | |
| parent | 2a07ef63f51f820582f65be4b85a09e38da94d01 (diff) | |
| parent | cd46f3824480740879d2c15d65c6e6b038f96021 (diff) | |
Merge series "ASoC: compress: Support module_get on stream open" from Peter Ujfalusi <[email protected]>:
Hi,
SOF is marking all componet drivers with module_get_upon_open = 1 which works
fine with normal PCM streams, however on compressed side the module get upon
open is not supported. The module_get works when module_get_upon_open is not set
becasue the snd_soc_component_module_get_when_probe() will pass NULL for the
substream parameter of snd_soc_component_module_get().
In order to re-use the existing infrastructure for module_get, the proposal is
to convert the mark_module to void pointer (like the pm mark) and implement
matching code for the compressed open/free to pcm open/close.
Regards,
Peter
---
Peter Ujfalusi (2):
ASoC: soc-component: Convert the mark_module to void*
ASoC: compress/component: Use module_get_when_open/put_when_close for
cstream
include/sound/soc-component.h | 14 ++++----
sound/soc/soc-component.c | 61 +++++++++++++++--------------------
sound/soc/soc-compress.c | 43 +++++++++++++++++++++---
3 files changed, 71 insertions(+), 47 deletions(-)
--
2.33.0
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions