Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

arm: dts: kirkwood: fix error in #sound-dai-cells size

dtc now gives the following warning:

arch/arm/boot/dts/kirkwood-t5325.dtb: Warning (sound_dai_property): /sound/simple-audio-card,cpu:sound-dai: property size (4) too small for cell size 1

The binding documentation gives no indication what the cell size should
be (which should be fixed too), so just assume 0 is fine as that is what
the consumer has.

Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Gregory Clement <gregory.clement@free-electrons.com>
Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>

authored by

Rob Herring and committed by
Gregory CLEMENT
e662e70f 5beaf4d7

+1 -1
+1 -1
arch/arm/boot/dts/kirkwood.dtsi
··· 382 382 383 383 audio0: audio-controller@a0000 { 384 384 compatible = "marvell,kirkwood-audio"; 385 - #sound-dai-cells = <1>; 385 + #sound-dai-cells = <0>; 386 386 reg = <0xa0000 0x2210>; 387 387 interrupts = <24>; 388 388 clocks = <&gate_clk 9>;