22 Jun
2011
22 Jun
'11
8:36 p.m.
On Wed, Jun 22, 2011 at 8:21 PM, Daniel Mack zonque@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