summaryrefslogtreecommitdiffstats
path: root/lib/crypto/mpi/mpiutil.c
diff options
context:
space:
mode:
authorBard Liao <yung-chuan.liao@linux.intel.com>2024-12-18 16:01:55 +0800
committerVinod Koul <vkoul@kernel.org>2024-12-23 12:00:34 +0530
commit25befdf32aa407ac21d8b2aa1257ff666fb783b2 (patch)
tree9b55e38d8f6a685f8f874d261bb633aa1dc1eda9 /lib/crypto/mpi/mpiutil.c
parent168cdf9cdef232225f6b6c617fd347b4d1c4a7d7 (diff)
downloadlinux-25befdf32aa407ac21d8b2aa1257ff666fb783b2.tar.gz
linux-25befdf32aa407ac21d8b2aa1257ff666fb783b2.tar.bz2
linux-25befdf32aa407ac21d8b2aa1257ff666fb783b2.zip
soundwire: generic_bandwidth_allocation: count the bandwidth of active streams only
sdw_compute_group_params() should only count payload bandwidth of the active streams which is in the ENABLED and DISABLED state in the bus. And add the payload bandwidth of the stream that calls sdw_compute_group_params() in sdw_prepare_stream(). Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com> Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com> Link: https://lore.kernel.org/r/20241218080155.102405-15-yung-chuan.liao@linux.intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions