diff options
author | Liam Girdwood <liam.r.girdwood@linux.intel.com> | 2014-05-02 16:56:31 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-05-02 09:53:02 -0700 |
commit | 10df350977b15d44dba0b3b44e3da7989711cb8d (patch) | |
tree | 4c8c6254379f1a798b8a072f3067e5c002a1c362 /sound/soc/intel/sst-acpi.c | |
parent | 0b708c87f66a15190fb43661c2320fd48c4dc6c8 (diff) | |
download | op-kernel-dev-10df350977b15d44dba0b3b44e3da7989711cb8d.zip op-kernel-dev-10df350977b15d44dba0b3b44e3da7989711cb8d.tar.gz |
ASoC: Intel: Fix Audio DSP usage when IOMMU is enabled.
The Intel IOMMU requires that the ACPI device is used to allocate all
DMA memory buffers. This means we need to pass the DMA device pointer into child
component devices that allocate DMA memory.
We also only set the DMA mask for the ACPI device now instead of for each
component device.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/intel/sst-acpi.c')
-rw-r--r-- | sound/soc/intel/sst-acpi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/intel/sst-acpi.c b/sound/soc/intel/sst-acpi.c index 5d06eec..18aee77 100644 --- a/sound/soc/intel/sst-acpi.c +++ b/sound/soc/intel/sst-acpi.c @@ -138,6 +138,7 @@ static int sst_acpi_probe(struct platform_device *pdev) sst_pdata = &sst_acpi->sst_pdata; sst_pdata->id = desc->sst_id; + sst_pdata->dma_dev = dev; sst_acpi->desc = desc; sst_acpi->mach = mach; |