ASoC: OMAP: data_type and sync_mode configurable in audio dma
authorMisael Lopez Cruz <x0052729@ti.com>
Mon, 22 Feb 2010 21:09:19 +0000 (15:09 -0600)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 23 Feb 2010 10:38:52 +0000 (10:38 +0000)
commite17dd32f342d0e876f729b348614320b297cf6f3
treeafbce2e6f125d13dc1b297840b88a1bc74df2891
parentb9dd94a87e5b4d0e864636698931aeeeb3c9d770
ASoC: OMAP: data_type and sync_mode configurable in audio dma

Allow client drivers to set the data_type (16, 32) and the
sync_mode (element, packet, etc) of the audio dma transferences.

McBSP dai driver configures it for a data type of 16 bits and
element sync mode.

Signed-off-by: Misael Lopez Cruz <x0052729@ti.com>
Signed-off-by: Jorge Eduardo Candelaria <jorge.candelaria@ti.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/omap/omap-mcbsp.c
sound/soc/omap/omap-pcm.c
sound/soc/omap/omap-pcm.h