SAUCE: fix imx_pcm_new() to allocate dma buffer correctly

BugLink: http://bugs.launchpad.net/bugs/877165

imx_pcm_new() calls imx_pcm_preallocate_dma_buffer() to allocate dma
buffers according _only_ to cpu_dai parameters, and this is not true.
A better way is to check out both cpu_dai and codec_dai.

Signed-off-by: Eric Miao <eric.miao@linaro.org>
1 file changed