Re: [PATCH] ASoC: fsl: add imx-cs427x machine driver
From: Felipe Ferreri Tonello
Date: Tue Jan 26 2016 - 06:00:50 EST
On 26/01/16 09:47, Fabio Estevam wrote:
> Hi Felipe,
> On Tue, Jan 26, 2016 at 7:43 AM, Felipe Ferreri Tonello
> <eu@xxxxxxxxxxxxxxxxx> wrote:
>> I agree, but that how it is today. These platform drivers for imx are
>> similar but not identical. Looking at them I would guess that they have
>> 50 to 60% of duplicated code.
> Would simple-audio-card or fsl-asoc-card help in this case?
Actually yes, thanks! I didn't know about the existence of fsl-asoc-card.
I get some errors but I don't think they actually matter:
[ 19.734494] fsl-asrc 2034000.asrc: driver registered
[ 19.738707] fsl-asoc-card sound: ASoC: CPU DAI (null) not registered
[ 19.738717] fsl-asoc-card sound: snd_soc_register_card failed (-517)
[ 19.741556] fsl-asoc-card sound: ASoC: CPU DAI (null) not registered
[ 19.741564] fsl-asoc-card sound: snd_soc_register_card failed (-517)
[ 19.774591] fsl-asoc-card sound: cs4271-hifi <-> 2028000.ssi mapping ok
[ 19.781507] fsl-asoc-card sound: ASoC: no source widget found for
[ 19.790065] fsl-asoc-card sound: ASoC: Failed to add route
ASRC-Playback -> direct -> CPU-Playback
[ 19.805349] fsl-asoc-card sound: ASoC: no sink widget found for
[ 19.817222] fsl-asoc-card sound: ASoC: Failed to add route
CPU-Capture -> direct -> ASRC-Capture
The codec is producing sound, which is good. Any idea on why these
errors are been triggered?