[alsa-devel] [PATCH v2 0/1] *** SUBJECT HERE ***

Peter Ujfalusi peter.ujfalusi at nokia.com
Thu Jul 22 13:25:20 CEST 2010


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


More information about the Alsa-devel mailing list