
Hi.
________________________________________
From: Ujfalusi Peter (Nokia-MS/Tampere) Sent: Thursday, July 22, 2010 1:25 PM To: Aaltonen Matti.J (Nokia-MS/Tampere) Cc: ext Mark Brown; alsa-devel@alsa-project.org; lrg@slimlogic.co.uk Subject: Re: [PATCH v2 0/1] *** SUBJECT HERE ***
On Thursday 22 July 2010 14:18:32 Aaltonen Matti.J (Nokia-MS/Tampere) wrote:
Could you please be a little more specific - what do you mean when you say "the CODEC stopped working? The set_dai_fmt() function has always been optional.
I get this error message:
aplay -f dat -Dhw:wl1273 /root/sumppi.wav [ 297.179626] Can't set codec DAI configuration: -22 [ 297.184539] asoc: BT/FM PCM startup failed
If you remove the wl1273_set_dai_fmt, than you should not call snd_soc_dai_set_fmt(codec_dai, ...); in the machine driver.
The snd_soc_dai_set_fmt checks, if the codec provides the callback, and if it is missing, than it returns -EINVAL.
Yes, I fixed the soc_card driver and now it works.
Thank you...
Matti A.
-- Péter