From: Peter Ujfalusi Date: Fri, 14 Sep 2012 12:05:50 +0000 (+0300) Subject: ASoC: omap-pcm: Select sDMA synchronization based on packet_size X-Git-Tag: v3.7-rc1~81^2~14^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e512589c17572e7498693a3e05eefa44e622f62b;p=pandora-kernel.git 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 Tested-by: Janusz Krzysztofik Signed-off-by: Mark Brown --- Reading git-diff-tree failed