Skip to content

Commit f18b14d

Browse files
lweiss-fairphoneandersson
authored andcommitted
arm64: dts: qcom: sdm850*: 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 8466598 commit f18b14d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

arch/arm64/boot/dts/qcom/sdm850-lenovo-yoga-c630.dts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -612,15 +612,15 @@
612612

613613
&q6asmdai {
614614
dai@0 {
615-
reg = <0>;
615+
reg = <MSM_FRONTEND_DAI_MULTIMEDIA1>;
616616
};
617617

618618
dai@1 {
619-
reg = <1>;
619+
reg = <MSM_FRONTEND_DAI_MULTIMEDIA2>;
620620
};
621621

622622
dai@2 {
623-
reg = <2>;
623+
reg = <MSM_FRONTEND_DAI_MULTIMEDIA3>;
624624
};
625625
};
626626

arch/arm64/boot/dts/qcom/sdm850-samsung-w737.dts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -425,15 +425,15 @@
425425

426426
&q6asmdai {
427427
dai@0 {
428-
reg = <0>;
428+
reg = <MSM_FRONTEND_DAI_MULTIMEDIA1>;
429429
};
430430

431431
dai@1 {
432-
reg = <1>;
432+
reg = <MSM_FRONTEND_DAI_MULTIMEDIA2>;
433433
};
434434

435435
dai@2 {
436-
reg = <2>;
436+
reg = <MSM_FRONTEND_DAI_MULTIMEDIA3>;
437437
};
438438
};
439439

0 commit comments

Comments
 (0)