[alsa-devel] [PATCH] ASoC: core - Fix dai usage in pcm_new() platform handlers

Daniel Mack zonque at gmail.com
Wed Jun 22 20:36:10 CEST 2011


On Wed, Jun 22, 2011 at 8:21 PM, Daniel Mack <zonque at gmail.com> wrote:
> I thought so too, but I'm facing an Ooops on 3.0.0-rc4, while the same
> platform code was running fine on 2.6.39. And while searching for
> potential reasons for this regression, this commit was quite obvious.
> But maybe that's indeed fixing the wrong side. What happens is that
> pxa2xx_pcm_preallocate_dma_buffer() is called for
> SNDRV_PCM_STREAM_CAPTURE, but pcm->streams[1].substream is NULL.

Note that I have local changes which aren't submitted for mainline yet
- see the patch attached. Is there anything substantionally wrong with
these changes?

Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: raumfeld-ddx.diff
Type: application/octet-stream
Size: 8400 bytes
Desc: not available
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20110622/f14c84e8/attachment.dll 


More information about the Alsa-devel mailing list