From: Peter Ujfalusi Date: Thu, 3 Jul 2014 04:51:54 +0000 (+0300) Subject: ASoC: generic-dmaengine-pcm: Prepare formats mask for valid physical sample sizes X-Git-Tag: omap-for-v3.17/fixes-against-rc2~144^2~5^2~14^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d38df12832186e592c1330dc5c363a778800cf1;p=pandora-kernel.git ASoC: generic-dmaengine-pcm: Prepare formats mask for valid physical sample sizes Based on the dma_slave_caps's addr_widths queried from the dma driver prepare the hw.formats mask to include only formats which is supported by the DMA engine. In case the dma driver does not implement the slave_caps the default assumption is that it supports 1, 2 and 4 bytes widths. Signed-off-by: Peter Ujfalusi Acked-by: Vinod Koul Acked-by: Takashi Iwai Acked-by: Lars-Peter Clausen Signed-off-by: Mark Brown --- Reading git-diff-tree failed