diff options
author | Bard Liao <yung-chuan.liao@linux.intel.com> | 2024-06-17 14:13:50 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2024-06-21 11:56:26 +0200 |
commit | 8e8c0dfc828c3f3ba5ebcee076b979d2134a6e27 (patch) | |
tree | 392c8ff4af38af14f25e25fc3a25ebfb76863160 /fs/erofs | |
parent | soundwire: Intel: clarify Copyright information (diff) | |
download | linux-8e8c0dfc828c3f3ba5ebcee076b979d2134a6e27.tar.xz linux-8e8c0dfc828c3f3ba5ebcee076b979d2134a6e27.zip |
soundwire: generic_bandwidth_allocation: change port_bo parameter to pointer
Currently, we do port_bo += bps * ch in both inside and outside
sdw_compute_master_ports(). We can pass port_bo as a pointer and only
calculate port_bo in sdw_compute_master_ports().
Besides, different port could use different lanes and we can't just
add port_bo based on total channels in a manager.
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20240617121350.14074-1-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'fs/erofs')
0 files changed, 0 insertions, 0 deletions