From a21f067bc44d90a3cd2b80ee724cf8c10c2c07a5 Mon Sep 17 00:00:00 2001 From: Maxime Ripard Date: Tue, 5 Nov 2019 11:56:15 +0100 Subject: [PATCH] ASoC: adau7118: Fix example warning MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The ADAU7118 has an example where the codec has an i2c address of 14, and the unit address set to 14 as well. However, while the address is expressed in decimal, the unit-address is supposed to be in hexadecimal, which ends up with two different addresses that trigger a DTC warning. Fix this by setting the address to 0x14. Cc: Nuno Sá Cc: Lars-Peter Clausen Fixes: 0ab23217257e ("dt-bindings: asoc: Add ADAU7118 documentation") Signed-off-by: Maxime Ripard Acked-by: Rob Herring Link: https://lore.kernel.org/r/20191105105615.21391-1-maxime@cerno.tech Signed-off-by: Mark Brown --- Documentation/devicetree/bindings/sound/adi,adau7118.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/sound/adi,adau7118.yaml b/Documentation/devicetree/bindings/sound/adi,adau7118.yaml index c3f10afbdd6f0..75e0cbe6be709 100644 --- a/Documentation/devicetree/bindings/sound/adi,adau7118.yaml +++ b/Documentation/devicetree/bindings/sound/adi,adau7118.yaml @@ -67,7 +67,7 @@ examples: #size-cells = <0>; adau7118_codec: audio-codec@14 { compatible = "adi,adau7118"; - reg = <14>; + reg = <0x14>; #sound-dai-cells = <0>; iovdd-supply = <&supply>; dvdd-supply = <&supply>; -- 2.39.5