aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Ripard <[email protected]>2019-11-05 11:56:15 +0100
committerMark Brown <[email protected]>2019-11-05 23:49:25 +0000
commit3e2e193773b3e79cd793d061c2ce9357817e7486 (patch)
tree57145eb1ccaf724e61ecb129de282ddb3d9dec7f
parent5eee2b3f60065a2530d13f28e771be48b989eb4c (diff)
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á <[email protected]> Cc: Lars-Peter Clausen <[email protected]> Fixes: 969d49b2cdc8 ("dt-bindings: asoc: Add ADAU7118 documentation") Signed-off-by: Maxime Ripard <[email protected]> Acked-by: Rob Herring <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
-rw-r--r--Documentation/devicetree/bindings/sound/adi,adau7118.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/sound/adi,adau7118.yaml b/Documentation/devicetree/bindings/sound/adi,adau7118.yaml
index c3f10afbdd6f..75e0cbe6be70 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>;