Comment 5 for bug 530404

Revision history for this message
Saeed Bishara (saeed-marvell) wrote :

The bug is a double call to dma_free_writecombine to dma_desc_array buffer. the happens when soc_pcm_open fails on asoc: AC97 <-> pxa2xx-lfe-ac97 No matching rates.
the dma buffer above get freed first time in the same function at
codec_dai_err:
        if (platform->pcm_ops->close)
              platform->pcm_ops->close(substream);
The second time is when snd_pcm_open_substream fails and calls snd_pcm_release_substream.