ASoC: omap-pcm, omap-dmic: Change the use of omap_pcm_dma_data->data_type
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Fri, 14 Sep 2012 12:05:56 +0000 (15:05 +0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 22 Sep 2012 15:13:01 +0000 (11:13 -0400)
commitf05cc9dac99ac6403d057d2cccb3c754714d2f32
tree638491093acf7d5d652fa6c752f7108c186aec7c
parent04564e3258304df607d4536de42603b4c8e21e1a
ASoC: omap-pcm, omap-dmic: Change the use of omap_pcm_dma_data->data_type

Instead of the OMAP DMA data type definition the data_type will be used to
specify the number of bits the DMA word should be configured or 0 in case
when based on the stream's format the omap-pcm can decide the needed DMA
word size.
This feature is needed for the omap-hdmi where the sDMA need to be
configured for 32bit word type regardless of the audio format used.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Tested-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/omap/omap-hdmi.c
sound/soc/omap/omap-pcm.c
sound/soc/omap/omap-pcm.h