diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2015-10-05 13:53:50 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-10-07 12:24:49 +0200 |
commit | b5e5a4549c8b88a880fa3866fa3803ea9396ba03 (patch) | |
tree | a3251a9bd8691cbcc6616019596284af7778c553 /sound/soc/intel/common | |
parent | ASoC: Intel: Skylake: Remove unused CPU dais (diff) | |
download | linux-b5e5a4549c8b88a880fa3866fa3803ea9396ba03.tar.xz linux-b5e5a4549c8b88a880fa3866fa3803ea9396ba03.zip |
ASoC: Intel: use dw_dmac autoconfiguration
Instead of hardconding a platform data for dw_dmac let's use it's own
autoconfiguration feature. Thus, remove hardcoded values.
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Cc: Mark Brown <broonie@kernel.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/common')
-rw-r--r-- | sound/soc/intel/common/sst-firmware.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/sound/soc/intel/common/sst-firmware.c b/sound/soc/intel/common/sst-firmware.c index ebcca6dc48d1..1636a1eeb002 100644 --- a/sound/soc/intel/common/sst-firmware.c +++ b/sound/soc/intel/common/sst-firmware.c @@ -26,7 +26,6 @@ #include <linux/acpi.h> /* supported DMA engine drivers */ -#include <linux/platform_data/dma-dw.h> #include <linux/dma/dw.h> #include <asm/page.h> @@ -169,12 +168,6 @@ err: return ret; } -static struct dw_dma_platform_data dw_pdata = { - .is_private = 1, - .chan_allocation_order = CHAN_ALLOCATION_ASCENDING, - .chan_priority = CHAN_PRIORITY_ASCENDING, -}; - static struct dw_dma_chip *dw_probe(struct device *dev, struct resource *mem, int irq) { @@ -195,7 +188,8 @@ static struct dw_dma_chip *dw_probe(struct device *dev, struct resource *mem, return ERR_PTR(err); chip->dev = dev; - err = dw_dma_probe(chip, &dw_pdata); + + err = dw_dma_probe(chip, NULL); if (err) return ERR_PTR(err); |