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

Skip to content
Commit e2e68956 authored by Shrenuj Bansal's avatar Shrenuj Bansal
Browse files

msm: kgsl: Use sg->length instead of sg_dma_len API to get sg size



The CONFIG_NEED_SG_DMA_LENGTH option is set for the arm64 kernel
config. This results in the sg_dma_len API to select sg->dma_length
for the sg len which is never set and is always 0. Therefore,
change to sg->length which is what we set and use in our code.

Change-Id: I11aabf4c56bf05ba4e1c5f582b739f3b3503ec63
Signed-off-by: default avatarShrenuj Bansal <shrenujb@codeaurora.org>
parent 8e5d905c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment