Mark Brown wrote:
You need to enable this at the *top* of the file rather than part way through it - in particular, it needs to be before any #includes.
Sorry about that, now it tells much more :) So what I did wrong was the .codec_name in snd_soc_dai_link structure. I have defined it as "wm8804.0-003a" while it should be "wm8804.1-003a". Btw. I know that 003a represents the I2C address of the codec, but what this '1' or '0' stands for (that I had mistaken) ?
best regards, Greg
(...) Nov 15 14:24:15 ecovec kernel: wm8804 1-003a: codec register 1-003a Nov 15 14:24:15 ecovec kernel: wm8804 1-003a: dai register 1-003a #1 Nov 15 14:24:15 ecovec kernel: Registered DAI 'wm8804-spdif' Nov 15 14:24:15 ecovec kernel: Registered codec 'wm8804.1-003a' (....) Nov 15 14:24:15 ecovec kernel: Registered platform 'sh_fsi.0' Nov 15 14:24:15 ecovec kernel: fsi-pcm-audio sh_fsi.0: dai register sh_fsi.0 #2 Nov 15 14:24:15 ecovec kernel: Registered DAI 'fsia-dai' Nov 15 14:24:15 ecovec kernel: Registered DAI 'fsib-dai' Nov 15 14:24:15 ecovec kernel: fsi_wm8804_sound_init Nov 15 14:24:15 ecovec kernel: soc-audio soc-audio.1: binding WM8804 at idx 0 Nov 15 14:24:15 ecovec kernel: soc-audio soc-audio.1: CODEC wm8804.0-003a not registered Nov 15 14:24:15 ecovec kernel: soc-audio soc-audio.1: Registered card 'FSI (WM8804)' (...)