18 Aug
2024
18 Aug
'24
9:28 a.m.
On Mon, 29 Jul 2024 16:01:57 +0200, Krzysztof Kozlowski wrote:
Two bitmasks in 'struct sdw_slave_prop' - 'source_ports' and 'sink_ports' - define which ports to program in sdw_program_slave_port_params(). The masks are used to get the appropriate data port properties ('struct sdw_get_slave_dpn_prop') from an array.
Bitmasks can be non-continuous or can start from index different than 0, thus when looking for matching port property for given port, we must iterate over mask bits, not from 0 up to number of ports.
[...]
Applied, thanks!
[1/1] soundwire: stream: fix programming slave ports for non-continous port maps commit: ab8d66d132bc8f1992d3eb6cab8d32dda6733c84
Best regards,
--
~Vinod