]> asedeno.scripts.mit.edu Git - linux.git/commit
ASoC: simple-card: Pass 'reg' property in the examples
authorFabio Estevam <fabio.estevam@nxp.com>
Thu, 4 Jan 2018 17:24:57 +0000 (15:24 -0200)
committerMark Brown <broonie@kernel.org>
Thu, 4 Jan 2018 17:39:00 +0000 (17:39 +0000)
commitef42e3557f66bd236bfc157c1f02de5abfd01236
tree1984065f38a1f2b6e81ea3a0ed063cadc302f709
parent4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323
ASoC: simple-card: Pass 'reg' property in the examples

Since unit addresses are passed to simple-audio-card,dai-link a
corresponding 'reg' property is needed, otherwise dtc complains
(when building with W=1) in case someone copies the bindings example
into a real dts file:

Warning (unit_address_vs_reg): Node /sound-digital/simple-audio-card,dai-link@0 has a unit name, but no reg property

Improve the example by passing the correct 'reg' properties.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/simple-card.txt