diff options
author | Ajit Kumar Pandey <[email protected]> | 2022-08-10 18:59:12 +0530 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-08-15 01:19:41 +0100 |
commit | 7929985cfe36c336e3d0753e9f23ac4c7758ea7e (patch) | |
tree | 148a1ed8388cce92efe085229cccedbcca01e853 /scripts/gdb/linux/tasks.py | |
parent | 4d39265b930fb42eb396c3153a3f4afdee9f5c17 (diff) |
ASoC: amd: acp: Initialize list to store acp_stream during pcm_open
We are currently allocating acp_stream during pcm_open and saving
it in static array corresponds to array index calculated based on
cpu dai->driver id. This approach will fail if we have single dai
linked to multiple pcm device as we will have same dai->driver id
or array index for multiple pcm open. Initialize new linked list
stream_list to store opened pcm stream info dynamically.
Signed-off-by: Ajit Kumar Pandey <[email protected]>
Signed-off-by: Venkata Prasad Potturu <[email protected]>
Reviewed-by: Vijendar Mukunda <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions