]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: shmobile: bockw dts: Override #sound-dai-cells to zero
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 7 Dec 2015 16:25:37 +0000 (17:25 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 8 Dec 2015 02:01:59 +0000 (11:01 +0900)
The default value of #sound-dai-cells in r8a7778.dtsi is one, while
the /sound/simple-audio-card,cpu device node in r8a7778-bockw.dts uses a
phandle without any extra cells ("<&rcar_sound>"), causing:

    /sound/simple-audio-card,cpu: arguments longer than property
    asoc-simple-card sound: parse error -22
    asoc-simple-card: probe of sound failed with error -22

Override #sound-dai-cells to zero to fix this.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7778-bockw.dts

index 3c03e6b8261e9348f77b20a6c960b37b6f5299e7..158ad94fd4d187a708274415067d7f8b368e9cfb 100644 (file)
        };
 };
 
+&rcar_sound {
+       /* Single DAI */
+       #sound-dai-cells = <0>;
+};
+
 &sdhi0 {
        pinctrl-0 = <&sdhi0_pins>, <&sdhi0_pup_pins>;
        pinctrl-names = "default";