summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/mm.py
diff options
context:
space:
mode:
authorBard Liao <yung-chuan.liao@linux.intel.com>2024-06-17 15:13:50 +0300
committerVinod Koul <vkoul@kernel.org>2024-06-21 12:56:26 +0300
commit8e8c0dfc828c3f3ba5ebcee076b979d2134a6e27 (patch)
tree392c8ff4af38af14f25e25fc3a25ebfb76863160 /scripts/gdb/linux/mm.py
parentb96f16bdf58dae08d841536820269c6b0d9c976b (diff)
downloadlinux-8e8c0dfc828c3f3ba5ebcee076b979d2134a6e27.tar.xz
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 'scripts/gdb/linux/mm.py')
0 files changed, 0 insertions, 0 deletions