Skip to content
Commit 56fa2ece authored by Jon Medhurst (Tixy)'s avatar Jon Medhurst (Tixy) Committed by Greg Kroah-Hartman
Browse files

staging: ion: ion_cma_heap: Don't directly use dma_common_get_sgtable



Use dma_get_sgtable rather than dma_common_get_sgtable so a device's
dma_ops aren't bypassed. This is essential in situations where a device
uses an IOMMU and the physical memory is not contiguous (as the common
function assumes).

Signed-off-by: default avatarJon Medhurst <tixy@linaro.org>
Reviewed-by: default avatarRobin Murphy <robin.murphy@arm.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b2069165
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment