diff options
author | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2019-02-07 20:00:11 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-02-12 19:31:58 +0300 |
commit | 96f06cde2c00d78395f5200cbbdf216c5ce3bc3f (patch) | |
tree | ba5d449f10a1a4e98e57109129eaad07e9cc7357 /sound/soc/samsung/i2s.c | |
parent | 10cbf3507bcb9baa82bf3445502e8ccafaa09fc8 (diff) | |
download | linux-96f06cde2c00d78395f5200cbbdf216c5ce3bc3f.tar.xz |
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/i2s.c')
-rw-r--r-- | sound/soc/samsung/i2s.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/samsung/i2s.c b/sound/soc/samsung/i2s.c index d6c62aa13041..efc8704d36e3 100644 --- a/sound/soc/samsung/i2s.c +++ b/sound/soc/samsung/i2s.c @@ -1345,7 +1345,7 @@ static int samsung_i2s_probe(struct platform_device *pdev) pri_dai->i2s_dai_drv.playback.channels_max = 6; ret = samsung_asoc_dma_platform_register(&pdev->dev, pri_dai->filter, - NULL, NULL); + NULL, NULL, NULL); if (ret < 0) goto err_disable_clk; @@ -1382,7 +1382,7 @@ static int samsung_i2s_probe(struct platform_device *pdev) pri_dai->sec_dai = sec_dai; ret = samsung_asoc_dma_platform_register(&pdev->dev, - sec_dai->filter, "tx-sec", NULL); + sec_dai->filter, "tx-sec", NULL, NULL); if (ret < 0) goto err_disable_clk; |