[PATCH 2/3] arm64: dts: meson: s400: fix sound card codec nodes

From: Jerome Brunet
Date: Mon Feb 24 2020 - 10:08:30 EST


Some codec nodes of the s400 sound card are numbered with the pattern
codec@XX. This pattern should be used only if there is a reg property in
the node which is not case here. Change this to something acceptable.

This change is only to better comply with the DT spec. No functional
changes expected.

Fixes: 6f59dc1afbb2 ("arm64: dts: meson-axg: s400: add sound card")
Signed-off-by: Jerome Brunet <jbrunet@xxxxxxxxxxxx>
---
arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts
index 4cd2d5951822..cb1360ae1211 100644
--- a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts
@@ -313,15 +313,15 @@ dai-link-6 {
dai-tdm-slot-rx-mask-1 = <1 1>;
mclk-fs = <256>;

- codec@0 {
+ codec-0 {
sound-dai = <&lineout>;
};

- codec@1 {
+ codec-1 {
sound-dai = <&speaker_amp1>;
};

- codec@2 {
+ codec-2 {
sound-dai = <&linein>;
};

--
2.24.1