Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 66cf402b authored by Ohad Ben-Cohen's avatar Ohad Ben-Cohen
Browse files

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: default avatarRussell King <linux@arm.linux.org.uk>
Tested-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarOhad Ben-Cohen <ohad@wizery.com>
parent 7e20b6f3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment