]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
arm64: dts: x1e80100-crd: fix wsa soundwire port mapping
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Thu, 27 Jun 2024 14:44:42 +0000 (15:44 +0100)
committerBjorn Andersson <andersson@kernel.org>
Thu, 15 Aug 2024 02:19:25 +0000 (21:19 -0500)
commitd374fafd8972895eba01ebd69c993cc7d80c084b
tree387c5f34042da5c2261ae12b2bac48edec34d132
parent8c7dbbed27723c4324c81e78fe239ce134aa8f58
arm64: dts: x1e80100-crd: fix wsa soundwire port mapping

Existing way of allocating ports dynamically is linear starting from 1 to
MAX_PORTS. This will not work for x1e80100 as the master ports are
are not mapped in the same order.

Without this fix only one speaker in a pair of speakers will function.

After this fix along with WSA codec changes both the speakers starts
working.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tested-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tested-by: Neil Armstrong <neil.armstrong@linaro.org> # on SM8650-HDK
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20240626-port-map-v2-5-6cc1c5608cdd@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/x1e80100-crd.dts