[alsa-devel] [RFC] ASoC: Add machine driver for i.MX SGTL500 based boards

Fabio Estevam festevam at gmail.com
Wed Jul 6 18:07:21 CEST 2011

On Tue, Jul 5, 2011 at 8:25 PM, Mark Brown
<broonie at opensource.wolfsonmicro.com> wrote:
> On Tue, Jul 05, 2011 at 06:56:45PM -0300, Fabio Estevam wrote:
>> ,but aplay is failing:
>> root at freescale /home$ aplay tone.wav
>> Playing WAVE 'tone.wav' : Signed 16 bit Little Endian, Rate 44
>> 100 Hz, Stereo
>> asoc: platform imx-pcm-audio.0 hw params failed
>> aplay: set_params:959: Unable to install hw params:
> So the error message says that imx-pcm-audio.0 hw_params() doesn't
> support the format you're trying to play.  You should check the code to
> see why it's returning an error.

The error is coming from  dma_request_channel inside imx_ssi_dma_alloc
function in

iprtd->dma_chan = dma_request_channel(mask, filter, iprtd);
	if (!iprtd->dma_chan)
		return -EINVAL;


Would you have any suggestion as to wht the dma_request_channel fails?


Fabio Estevam

More information about the Alsa-devel mailing list