All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] [RFC] ARM: shmobile: bockw dts: Override #sound-dai-cells to zero
@ 2015-12-07 16:25 ` Geert Uytterhoeven
  0 siblings, 0 replies; 12+ messages in thread
From: Geert Uytterhoeven @ 2015-12-07 16:25 UTC (permalink / raw)
  To: Simon Horman, Magnus Damm, Kuninori Morimoto, Ulrich Hecht
  Cc: alsa-devel, devicetree, linux-sh, Geert Uytterhoeven

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>
---
The rcar_sound node is still disabled. So why is this needed?!?
---
 arch/arm/boot/dts/r8a7778-bockw.dts | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7778-bockw.dts b/arch/arm/boot/dts/r8a7778-bockw.dts
index 3c03e6b8261e9348..158ad94fd4d187a7 100644
--- a/arch/arm/boot/dts/r8a7778-bockw.dts
+++ b/arch/arm/boot/dts/r8a7778-bockw.dts
@@ -172,6 +172,11 @@
 	};
 };
 
+&rcar_sound {
+	/* Single DAI */
+	#sound-dai-cells = <0>;
+};
+
 &sdhi0 {
 	pinctrl-0 = <&sdhi0_pins>, <&sdhi0_pup_pins>;
 	pinctrl-names = "default";
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2015-12-08  2:00 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-07 16:25 [PATCH] [RFC] ARM: shmobile: bockw dts: Override #sound-dai-cells to zero Geert Uytterhoeven
2015-12-07 16:25 ` Geert Uytterhoeven
2015-12-08  0:08 ` Kuninori Morimoto
2015-12-08  0:08   ` Kuninori Morimoto
2015-12-08  0:10 ` [PATCH] ARM: shmobile: r8a7778: tidyup #sound-dai-cells settings Kuninori Morimoto
2015-12-08  0:10   ` Kuninori Morimoto
2015-12-08  0:37   ` Simon Horman
2015-12-08  0:37     ` Simon Horman
2015-12-08  1:30     ` Kuninori Morimoto
2015-12-08  1:30       ` Kuninori Morimoto
2015-12-08  2:00       ` Simon Horman
2015-12-08  2:00         ` Simon Horman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.