Re: [PATCH v2 0/1] *** SUBJECT HERE ***

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux