diff options
| author | Sylwester Nawrocki <[email protected]> | 2019-02-07 18:00:10 +0100 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2019-02-12 16:31:42 +0000 |
| commit | 10cbf3507bcb9baa82bf3445502e8ccafaa09fc8 (patch) | |
| tree | c6144e8248120d10a85cc7cfbc80d5cf39db0750 /tools/perf/scripts/python | |
| parent | 51256d348c9af1bf544a4432abc1d5f2fd3ef34b (diff) | |
ASoC: dmaengine: Extend use of chan_names provided in custom DMA config
There are currently two ways to specify custom DMA channel names:
- through the SND_DMAENGINE_PCM_FLAG_CUSTOM_CHANNEL_NAME flag and
snd_dmaengine_dai_dma_data data structure,
- through chan_names field of struct snd_dmaengine_pcm_config.
In order to replace the DAI DMA data method with the custom DMA config
one on non-DT platforms the dmaengine_pcm_new() function is extended
to also consider channel names specified in the custom DMA config.
If both config->chan_names and dma_data->chan_name are provided
the former will be used.
Signed-off-by: Sylwester Nawrocki <[email protected]>
Acked-by: Krzysztof Kozlowski <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions