Skip to content

Commit 5e170ce

Browse files
lweiss-fairphoneandersson
authored andcommitted
arm64: dts: qcom: sm8350: Use q6asm defines for reg
Use the MSM_FRONTEND_DAI_MULTIMEDIA* defines to make the code more readable. No functional change intended. Signed-off-by: Luca Weiss <[email protected]> Reviewed-by: Dmitry Baryshkov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent 69a8b06 commit 5e170ce

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

arch/arm64/boot/dts/qcom/sm8350.dtsi

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#include <dt-bindings/soc/qcom,apr.h>
2323
#include <dt-bindings/soc/qcom,rpmh-rsc.h>
2424
#include <dt-bindings/sound/qcom,q6afe.h>
25+
#include <dt-bindings/sound/qcom,q6asm.h>
2526
#include <dt-bindings/thermal/thermal.h>
2627
#include <dt-bindings/interconnect/qcom,sm8350.h>
2728

@@ -1957,15 +1958,15 @@
19571958
iommus = <&apps_smmu 0x1801 0x0>;
19581959

19591960
dai@0 {
1960-
reg = <0>;
1961+
reg = <MSM_FRONTEND_DAI_MULTIMEDIA1>;
19611962
};
19621963

19631964
dai@1 {
1964-
reg = <1>;
1965+
reg = <MSM_FRONTEND_DAI_MULTIMEDIA2>;
19651966
};
19661967

19671968
dai@2 {
1968-
reg = <2>;
1969+
reg = <MSM_FRONTEND_DAI_MULTIMEDIA3>;
19691970
};
19701971
};
19711972
};

0 commit comments

Comments
 (0)