Skip to content

Commit d89ed52

Browse files
lweiss-fairphoneandersson
authored andcommitted
arm64: dts: qcom: msm8953: 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 0c5b597 commit d89ed52

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1933,19 +1933,19 @@
19331933
#sound-dai-cells = <1>;
19341934

19351935
dai@0 {
1936-
reg = <0>;
1936+
reg = <MSM_FRONTEND_DAI_MULTIMEDIA1>;
19371937
direction = <Q6ASM_DAI_RX>;
19381938
};
19391939
dai@1 {
1940-
reg = <1>;
1940+
reg = <MSM_FRONTEND_DAI_MULTIMEDIA2>;
19411941
direction = <Q6ASM_DAI_TX>;
19421942
};
19431943
dai@2 {
1944-
reg = <2>;
1944+
reg = <MSM_FRONTEND_DAI_MULTIMEDIA3>;
19451945
direction = <Q6ASM_DAI_RX>;
19461946
};
19471947
dai@3 {
1948-
reg = <3>;
1948+
reg = <MSM_FRONTEND_DAI_MULTIMEDIA4>;
19491949
direction = <Q6ASM_DAI_RX>;
19501950
is-compress-dai;
19511951
};

0 commit comments

Comments
 (0)