ASoC: add support for separate codec DAIs to the fsl_dma driver
authorTimur Tabi <timur@freescale.com>
Thu, 19 Aug 2010 21:43:42 +0000 (16:43 -0500)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 20 Aug 2010 11:14:45 +0000 (12:14 +0100)
commitc04019d450a885a095a2ca38fcd5db8d57cd2718
tree2c7c8fa132fc6e3b012ff4fcb7cf7ac894980a2a
parentb67696b40f2e7f890d017db3c6805ff90cb392b6
ASoC: add support for separate codec DAIs to the fsl_dma driver

Some codecs have separate DAIs for playback and capture, so the DMA driver
should allocate a DMA buffer only for the streams that are valid when the
driver is opened.

Signed-off-by: Timur Tabi <timur@freescale.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/fsl/fsl_dma.c