summaryrefslogtreecommitdiffstats
path: root/sound/soc/omap/omap-mcpdm.c
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2012-09-14 15:05:50 +0300
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-09-22 11:12:57 -0400
commite512589c17572e7498693a3e05eefa44e622f62b (patch)
treedd09673eda46ed03dbb4cf00394789e5a45852b4 /sound/soc/omap/omap-mcpdm.c
parentdffb360e64968b95a0a0221ca52234a28cc049c9 (diff)
downloadblackbird-op-linux-e512589c17572e7498693a3e05eefa44e622f62b.tar.gz
blackbird-op-linux-e512589c17572e7498693a3e05eefa44e622f62b.zip
ASoC: omap-pcm: Select sDMA synchronization based on packet_size
Since we only have element or packet synchronization we can use the dma_data->packet_size to select the desired mode: if packet_size is 0 we use ELEMENT mode if packet_size is not 0 we use PACKET mode for sDMA synchronization. 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>
Diffstat (limited to 'sound/soc/omap/omap-mcpdm.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud