android_kernel_motorola_sm6375/drivers/soundwire
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Krzysztof Kozlowski 2fdc7540a9 soundwire: stream: Revert "soundwire: stream: fix programming slave ports for non-continous port maps"
commit 233a95fd574fde1c375c486540a90304a2d2d49f upstream.

This reverts commit ab8d66d132bc8f1992d3eb6cab8d32dda6733c84 because it
breaks codecs using non-continuous masks in source and sink ports.  The
commit missed the point that port numbers are not used as indices for
iterating over prop.sink_ports or prop.source_ports.

Soundwire core and existing codecs expect that the array passed as
prop.sink_ports and prop.source_ports is continuous.  The port mask still
might be non-continuous, but that's unrelated.

Reported-by: Bard Liao <[email protected]>
Closes: https://lore.kernel.org/all/[email protected]/
Fixes: ab8d66d132bc ("soundwire: stream: fix programming slave ports for non-continous port maps")
Acked-by: Bard Liao <[email protected]>
Reviewed-by: Charles Keepax <[email protected]>
Cc: [email protected]
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Tested-by: Peter Ujfalusi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2024-11-08 16:20:25 +01:00
..
bus.c
bus.h
bus_type.c
cadence_master.c soundwire: cadence: fix invalid PDI offset 2024-06-16 13:28:41 +02:00
cadence_master.h soundwire: cadence_master: improve PDI allocation 2024-06-16 13:28:41 +02:00
debugfs.c
intel.c soundwire: cadence_master: improve PDI allocation 2024-06-16 13:28:41 +02:00
intel.h
intel_init.c
Kconfig
Makefile
mipi_disco.c
slave.c
stream.c soundwire: stream: Revert "soundwire: stream: fix programming slave ports for non-continous port maps" 2024-11-08 16:20:25 +01:00