diff options
author | Peter Ujfalusi <[email protected]> | 2014-07-03 07:51:54 +0300 |
---|---|---|
committer | Mark Brown <[email protected]> | 2014-07-04 18:55:21 +0100 |
commit | 2d38df12832186e592c1330dc5c363a778800cf1 (patch) | |
tree | d68c908a53c693f758ec1f0220233db77d5036cd /tools/perf/util/trace-event-scripting.c | |
parent | 732814c8ffedd33a6b54f149b07ddec13c49fce9 (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 <[email protected]>
Acked-by: Vinod Koul <[email protected]>
Acked-by: Takashi Iwai <[email protected]>
Acked-by: Lars-Peter Clausen <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions