diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.dev> | 2024-12-18 11:01:46 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2024-12-23 09:30:33 +0300 |
commit | fdd1faeeec14291f9e542afa5ccec2c5a0930f5b (patch) | |
tree | 81c09fe694d4f593ef44969841583b264269a509 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | f1b3dba6905a9afc49996b039042c411aa98fd52 (diff) | |
download | linux-fdd1faeeec14291f9e542afa5ccec2c5a0930f5b.tar.xz |
soundwire: generic_bandwidth_allocation: skip DEPREPARED streams
We should not blindly walk through all the m_rt list, since it will
have the side effect of accounting for deprepared streams.
This behavior is the result of the split implementation where the
dailink hw_free() handles the stream state change and the bit
allocation, and the dai hw_free() modifies the m_rt list. The bit
allocation ends-up using m_rt entries in zombie state, no longer
relevant but still used.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.dev>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20241218080155.102405-6-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions