summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/device_pm.c
diff options
context:
space:
mode:
authorVijendar Mukunda <Vijendar.Mukunda@amd.com>2019-08-02 19:21:23 +0530
committerMark Brown <broonie@kernel.org>2019-08-02 19:04:26 +0100
commit88639051017fb61a414b636dd0fc490da2b62b64 (patch)
treeeaf9d2764029f7474bb363f38c579b634f028d6d /drivers/acpi/device_pm.c
parentb9da500bde81ad820b5d95c6bf52fc33e1f490ee (diff)
downloadlinux-88639051017fb61a414b636dd0fc490da2b62b64.tar.bz2
ASoC: amd: acp3x: use dma_ops of parent device for acp3x dma driver
AMD platform device acp3x_rv_i2s created by parent PCI device driver. Pass struct device of the parent to snd_pcm_lib_preallocate_pages() so dma_alloc_coherent() can use correct dma_ops. Otherwise, it will use default dma_ops which is nommu_dma_ops on x86_64 even when IOMMU is enabled and set to non passthrough mode. Signed-off-by: Vijendar Mukunda <vijendar.mukunda@amd.com> Link: https://lore.kernel.org/r/1564753899-17124-1-git-send-email-Vijendar.Mukunda@amd.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/acpi/device_pm.c')
0 files changed, 0 insertions, 0 deletions