Skip to content

Commit 0c5b597

Browse files
lweiss-fairphoneandersson
authored andcommitted
arm64: dts: qcom: msm8916-modem-qdsp6: 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 e99e02e commit 0c5b597

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

arch/arm64/boot/dts/qcom/msm8916-modem-qdsp6.dtsi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,19 +58,19 @@
5858

5959
&q6asmdai {
6060
dai@0 {
61-
reg = <0>;
61+
reg = <MSM_FRONTEND_DAI_MULTIMEDIA1>;
6262
direction = <Q6ASM_DAI_RX>;
6363
};
6464
dai@1 {
65-
reg = <1>;
65+
reg = <MSM_FRONTEND_DAI_MULTIMEDIA2>;
6666
direction = <Q6ASM_DAI_TX>;
6767
};
6868
dai@2 {
69-
reg = <2>;
69+
reg = <MSM_FRONTEND_DAI_MULTIMEDIA3>;
7070
direction = <Q6ASM_DAI_RX>;
7171
};
7272
dai@3 {
73-
reg = <3>;
73+
reg = <MSM_FRONTEND_DAI_MULTIMEDIA4>;
7474
direction = <Q6ASM_DAI_RX>;
7575
is-compress-dai;
7676
};

0 commit comments

Comments
 (0)