diff options
author | Ohad Ben-Cohen <ohad@wizery.com> | 2011-06-08 09:06:11 +0300 |
---|---|---|
committer | Ohad Ben-Cohen <ohad@wizery.com> | 2011-07-04 15:07:58 +0300 |
commit | 66cf402bd911d3874f986156d0bee8b943b71e7c (patch) | |
tree | 5fb35383e4c031d2f31308756b6a6d5f7cd07d67 /arch/arm/mach-omap2/omap-iommu.c | |
parent | 7e20b6f39aef541d890eba1fdf493f33b39d29e4 (diff) |
omap: iovmm: s/sg_dma_len(sg)/sg->length/
iovmm is erroneously using sg_dma_len with unmapped (DMA API-wise)
SG entries, and will break if CONFIG_NEED_SG_DMA_LENGTH is enabled.
Fix that by using sg->length instead.
Reported-by: Russell King <linux@arm.linux.org.uk>
Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Diffstat (limited to 'arch/arm/mach-omap2/omap-iommu.c')
0 files changed, 0 insertions, 0 deletions