[alsa-devel] [PATCH] ASoC: dt-bindings: wm8524: Remove unit address

Fabio Estevam festevam at gmail.com
Wed Mar 7 04:24:13 CET 2018


WM8524 does not use I2C nor SPI, hence no 'reg' property is used,
so remove the unit address from the bindings example to conform.

This avoids users getting dtc warnings when they copy the
binding example to a real dts file.

Signed-off-by: Fabio Estevam <festevam at gmail.com>
---
 Documentation/devicetree/bindings/sound/wm8524.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/sound/wm8524.txt b/Documentation/devicetree/bindings/sound/wm8524.txt
index 20c6200..0f05535 100644
--- a/Documentation/devicetree/bindings/sound/wm8524.txt
+++ b/Documentation/devicetree/bindings/sound/wm8524.txt
@@ -10,7 +10,7 @@ Required properties:
 
 Example:
 
-codec: wm8524 at 0 {
+codec: wm8524 {
 	compatible = "wlf,wm8524";
 	wlf,mute-gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
 };
-- 
2.7.4



More information about the Alsa-devel mailing list