summaryrefslogtreecommitdiff
path: root/sound/core
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2014-07-03 07:51:54 +0300
committerMark Brown <broonie@linaro.org>2014-07-04 18:55:21 +0100
commit2d38df12832186e592c1330dc5c363a778800cf1 (patch)
treed68c908a53c693f758ec1f0220233db77d5036cd /sound/core
parent732814c8ffedd33a6b54f149b07ddec13c49fce9 (diff)
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 <peter.ujfalusi@ti.com> Acked-by: Vinod Koul <vinod.koul@intel.com> Acked-by: Takashi Iwai <tiwai@suse.de> Acked-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/core')
0 files changed, 0 insertions, 0 deletions