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.