diff options
| author | Bard Liao <[email protected]> | 2024-12-18 08:01:55 +0000 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2024-12-23 06:30:34 +0000 |
| commit | 25befdf32aa407ac21d8b2aa1257ff666fb783b2 (patch) | |
| tree | 9b55e38d8f6a685f8f874d261bb633aa1dc1eda9 /net/unix/af_unix.c | |
| parent | SoundWire: pass stream to compute_params() (diff) | |
| download | kernel-25befdf32aa407ac21d8b2aa1257ff666fb783b2.tar.gz kernel-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 <[email protected]>
Reviewed-by: Ranjani Sridharan <[email protected]>
Reviewed-by: Péter Ujfalusi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
