Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

soundwire: only compute BPT stream in sdw_compute_dp0_port_params

DP0 is only for BPT stream. We should not compute and update the port
params of the normal audio streams.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://patch.msgid.link/20251014031450.3781789-3-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Bard Liao and committed by
Vinod Koul
43b2a391 4be4ac36

+3
+3
drivers/soundwire/generic_bandwidth_allocation.c
··· 124 124 struct sdw_master_runtime *m_rt; 125 125 126 126 list_for_each_entry(m_rt, &bus->m_rt_list, bus_node) { 127 + /* DP0 is for BPT only */ 128 + if (m_rt->stream->type != SDW_STREAM_BPT) 129 + continue; 127 130 sdw_compute_dp0_master_ports(m_rt); 128 131 sdw_compute_dp0_slave_ports(m_rt); 129 132 }