]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5c8f61e4c534c77c927e458689e30daef4e534d3
tree4c8c6254379f1a798b8a072f3067e5c002a1c362
parent7ea94fb4d117a3c481a9d92229bcdee21fc32696
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