]> 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)
commit96807be1c0554af04b76efe9c8ef912a967f5fdf
tree4c8c6254379f1a798b8a072f3067e5c002a1c362
parente78464465e2b8d4d2c80244d42410607b31120d1
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