
22 Jul
2010
22 Jul
'10
2:25 p.m.
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.
--
Péter