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

Skip to content
Commit 6b610980 authored by Qingqing Zhou's avatar Qingqing Zhou
Browse files

arm: dma-mapping.c: add cpu sync in map_sg and unmap_sg



Currently for 32-bit the dma operations including map_sg
and unmap_sg don't have cpu sync, so after several times'
map and unmap, the data may be not right.

This is caused by 'commit 14072e39 ("arm: dma-mapping:
map sg lists into the SMMU as virtually contiguous")'.

Change-Id: I6b749f5111aa937f7800050ae454fe209b73c5d1
Signed-off-by: default avatarQingqing Zhou <qqzhou@codeaurora.org>
parent c7849b7a
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