[alsa-devel] Driver for AK4555 codec

Mark Brown broonie at opensource.wolfsonmicro.com
Tue Aug 3 17:05:19 CEST 2010

On Fri, Jul 30, 2010 at 10:00:12AM +0200, Yoran Brondsema wrote:

> I checked the speaker-test code, and this happens after a call to
> snd_pcm_writei(). The error code is -5, which corresponds to -EIO. In the
> snd_pcm_writei() definition, the following code fails.

> However, in the init function of the codec driver
> (linux/sound/soc/codecs/ak4555.c), I do

Any of the drivers involved in the audio stream can generate an error,
you need to make sure all of them are happy.

> What could be wrong?

You'll need to debug this.  Check how the core expects the stream to be
marked as configured and diagnose why that's not happening.

More information about the Alsa-devel mailing list