Commit 3e2e1937 authored by Maxime Ripard's avatar Maxime Ripard Committed by Mark Brown

ASoC: adau7118: Fix example warning

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á <nuno.sa@analog.com>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Fixes: 969d49b2 ("dt-bindings: asoc: Add ADAU7118 documentation")
Signed-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
Acked-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20191105105615.21391-1-maxime@cerno.techSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 5eee2b3f
...@@ -67,7 +67,7 @@ examples: ...@@ -67,7 +67,7 @@ examples:
#size-cells = <0>; #size-cells = <0>;
adau7118_codec: audio-codec@14 { adau7118_codec: audio-codec@14 {
compatible = "adi,adau7118"; compatible = "adi,adau7118";
reg = <14>; reg = <0x14>;
#sound-dai-cells = <0>; #sound-dai-cells = <0>;
iovdd-supply = <&supply>; iovdd-supply = <&supply>;
dvdd-supply = <&supply>; dvdd-supply = <&supply>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment