diff options
author | Pierre-Louis Bossart <[email protected]> | 2022-01-26 09:17:14 +0800 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2022-02-11 12:17:55 +0530 |
commit | f3016b891c8c6f11434eab5b92a0bbc21c1dfb6e (patch) | |
tree | 1b027964c30d19ad2e7c88d07c675ef035e1d1c8 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 5e1df5431f5b68f178c016e7015fb244e9510370 (diff) |
soundwire: stream: sdw_stream_add_ functions can be called multiple times
The sdw_stream_add_slave/master() functions are called from the
.hw_params stage. We need to make sure the functions can be called
multiple times.
In this version, we assume that only 'audio' parameters provide in the
hw_params() can change. If the number of ports could change
dynamically depending on the stream configuration (number of channels,
etc), we would need to free-up all the stream resources and reallocate
them.
Signed-off-by: Pierre-Louis Bossart <[email protected]>
Reviewed-by: Rander Wang <[email protected]>
Signed-off-by: Bard Liao <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions