ASoC: Intel: Fix Audio DSP usage when IOMMU is enabled.
authorLiam Girdwood <liam.r.girdwood@linux.intel.com>
Fri, 2 May 2014 15:56:31 +0000 (16:56 +0100)
committerMark Brown <broonie@linaro.org>
Fri, 2 May 2014 16:53:02 +0000 (09:53 -0700)
commit10df350977b15d44dba0b3b44e3da7989711cb8d
tree4c8c6254379f1a798b8a072f3067e5c002a1c362
parent0b708c87f66a15190fb43661c2320fd48c4dc6c8
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>
sound/soc/intel/sst-acpi.c
sound/soc/intel/sst-dsp-priv.h
sound/soc/intel/sst-dsp.c
sound/soc/intel/sst-dsp.h
sound/soc/intel/sst-firmware.c
sound/soc/intel/sst-haswell-dsp.c
sound/soc/intel/sst-haswell-pcm.c