diff options
author | Bard Liao <yung-chuan.liao@linux.intel.com> | 2025-03-10 15:36:53 +0800 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2025-03-11 01:51:58 +0530 |
commit | 08ae0d61c3d79bb5d52ae30ad4fc12442e966a23 (patch) | |
tree | 0aed8fac648d4aa78330082da6fdedcc48c54b90 /scripts/gdb/linux/utils.py | |
parent | 9452422fc321f105a38435bc72afe5fd2c51882b (diff) | |
download | lwn-08ae0d61c3d79bb5d52ae30ad4fc12442e966a23.tar.gz lwn-08ae0d61c3d79bb5d52ae30ad4fc12442e966a23.zip |
soundwire: take in count the bandwidth of a prepared stream
When a stream's state is marked as prepared, it is ready for
playback/capture. Therefore, we need to include the stream's bandwidth
when we calculate the required bandwidth of a bus.
Fixes: 25befdf32aa40 ("soundwire: generic_bandwidth_allocation: count the bandwidth of active streams only")
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://github.com/thesofproject/linux/issues/5334
Reviewed-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20250310073653.56476-1-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions