diff options
author | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2019-02-07 18:00:11 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-02-12 16:31:58 +0000 |
commit | 96f06cde2c00d78395f5200cbbdf216c5ce3bc3f (patch) | |
tree | ba5d449f10a1a4e98e57109129eaad07e9cc7357 /sound/soc/samsung/dma.h | |
parent | 10cbf3507bcb9baa82bf3445502e8ccafaa09fc8 (diff) | |
download | linux-96f06cde2c00d78395f5200cbbdf216c5ce3bc3f.tar.bz2 |
ASoC: samsung: dmaengine: Allow to specify custom DMA device
The additional function argument will allow to select proper DMA device
for requesting DMA channel for the secondary CPU DAI.
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/samsung/dma.h')
-rw-r--r-- | sound/soc/samsung/dma.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/samsung/dma.h b/sound/soc/samsung/dma.h index 7ae580d677c8..0ae15d01a3f6 100644 --- a/sound/soc/samsung/dma.h +++ b/sound/soc/samsung/dma.h @@ -17,5 +17,6 @@ * otherwise actual DMA channel names must be passed to this function. */ int samsung_asoc_dma_platform_register(struct device *dev, dma_filter_fn filter, - const char *tx, const char *rx); + const char *tx, const char *rx, + struct device *dma_dev); #endif /* _SAMSUNG_DMA_H */ |