alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* ASoC:simple-card: problem with multi-DAIs
@ 2014-09-02  7:00 Jean-Francois Moine
  2014-09-02 11:03 ` Kuninori Morimoto
  0 siblings, 1 reply; 5+ messages in thread
From: Jean-Francois Moine @ 2014-09-02  7:00 UTC (permalink / raw)
  To: Kuninori Morimoto, Mark Brown; +Cc: Linux-ALSA, Lars-Peter Clausen

Hi Kuninori,

In your patch
	ASoC: simple-card: remove dai_link->cpu_dai_name when DT
	(commit 179949bc04c7157a4b2279f62a842638b61f78f9
	 in /kernel/git/broonie/sound.git/)
you removed all 'cpu_dai_name's, and this creates problems in my system.

I have an audio controller with 2 DAIs. The audio system is defined as:

	sound {
		compatible = "simple-audio-card";
		simple-audio-card,name = "Cubox Audio";

		simple-audio-card,dai-link@0 {		/* I2S - HDMI */
			format = "i2s";
			cpu {
				sound-dai = <&audio1 0>;
			};
			codec {
				sound-dai = <&hdmi 0>;
			};
		};

		simple-audio-card,dai-link@1 {		/* S/PDIF - HDMI */
			cpu {
				sound-dai = <&audio1 1>;
			};
			codec@0 {
				sound-dai = <&hdmi 1>;
			};
		};
		...
	}

The 'cpu_of_node' of both CPU DAIs is the same ('audio1'), and only the
cpu_dai_name permits to know the CPU DAI.

But, as you removed it, both DAI links are built with the 1st CPU DAI
(I2S), and the second link (via S/PDIF) does not work.

-- 
Ken ar c'hentañ	|	      ** Breizh ha Linux atav! **
Jef		|		http://moinejf.free.fr/
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

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

end of thread, other threads:[~2014-09-03 12:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-02  7:00 ASoC:simple-card: problem with multi-DAIs Jean-Francois Moine
2014-09-02 11:03 ` Kuninori Morimoto
2014-09-02 11:05   ` [PATCH][RFC] ASoC: simple-card: fixup cpu_dai_name clear case Kuninori Morimoto
2014-09-02 18:00     ` Jean-Francois Moine
2014-09-03 12:54     ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).