summaryrefslogtreecommitdiffstats
path: root/sound/soc/samsung/spdif.c
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2019-02-07 18:00:11 +0100
committerMark Brown <broonie@kernel.org>2019-02-12 17:31:58 +0100
commit96f06cde2c00d78395f5200cbbdf216c5ce3bc3f (patch)
treeba5d449f10a1a4e98e57109129eaad07e9cc7357 /sound/soc/samsung/spdif.c
parentASoC: dmaengine: Extend use of chan_names provided in custom DMA config (diff)
downloadlinux-96f06cde2c00d78395f5200cbbdf216c5ce3bc3f.tar.xz
linux-96f06cde2c00d78395f5200cbbdf216c5ce3bc3f.zip
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/spdif.c')
-rw-r--r--sound/soc/samsung/spdif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/samsung/spdif.c b/sound/soc/samsung/spdif.c
index cb59911e65c0..5e4afb330416 100644
--- a/sound/soc/samsung/spdif.c
+++ b/sound/soc/samsung/spdif.c
@@ -430,7 +430,7 @@ static int spdif_probe(struct platform_device *pdev)
spdif->dma_playback = &spdif_stereo_out;
ret = samsung_asoc_dma_platform_register(&pdev->dev, filter,
- NULL, NULL);
+ NULL, NULL, NULL);
if (ret) {
dev_err(&pdev->dev, "failed to register DMA: %d\n", ret);
goto err4;