On Tue, Jan 26, 2016 at 09:05:42AM -0200, Fabio Estevam wrote:
On Tue, Jan 26, 2016 at 9:01 AM, Felipe Ferreri Tonello eu@felipetonello.com wrote:
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)
Deferred probes shouldn't be a problem.
[ 19.774591] fsl-asoc-card sound: cs4271-hifi <-> 2028000.ssi mapping ok
Link is mapped.
[ 19.781507] fsl-asoc-card sound: ASoC: no source widget found for ASRC-Playback [ 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 ASRC-Capture [ 19.817222] fsl-asoc-card sound: ASoC: Failed to add route CPU-Capture -> direct -> ASRC-Capture
You may ignore these "failures" if you don't have ASRC at all. It's optional based on the SoC design or platform requirement. Refer to: Documentation/devicetree/bindings/sound/fsl-asoc-card.txt
But I think the log over here could be less confusing. I may try to clean it later.
Thanks Nicolin