Hi,
On 24/07/2025 00:27, srinivas.kandagatla@oss.qualcomm.com wrote:
> From: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
>
> WSA and WSA2 are two instances of WSA codec macro, this can lead
> dupicate dapm widgets and mixers resulting in failing to probe
duplicate
> soundcard if both of these instances are part of the dai-link.
>
> Correct way to address this is to add sound-name-prefix to WSA2
> instances to avoid such confilcting mixers and dapm widgets.
conflicting
>
> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
> ---
> arch/arm64/boot/dts/qcom/sm8550.dtsi | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/sm8550.dtsi b/arch/arm64/boot/dts/qcom/sm8550.dtsi
> index d35d2b9b438d..5f748f6eb27a 100644
> --- a/arch/arm64/boot/dts/qcom/sm8550.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sm8550.dtsi
> @@ -2811,6 +2811,7 @@ lpass_wsa2macro: codec@6aa0000 {
> #clock-cells = <0>;
> clock-output-names = "wsa2-mclk";
> #sound-dai-cells = <1>;
> + sound-name-prefix = "WSA2";
> };
>
> swr3: soundwire@6ab0000 {
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>