Commit 85145181 authored by Weizhao Ouyang's avatar Weizhao Ouyang Committed by Treehugger Robot
Browse files

UPSTREAM: dma-buf: cma_heap: Fix mutex locking section



Fix cma_heap_buffer mutex locking critical section to protect vmap_cnt
and vaddr.

Bug: 254441685
Fixes: a5d2d29e ("dma-buf: heaps: Move heap-helper logic into the cma_heap implementation")
Signed-off-by: default avatarWeizhao Ouyang <o451686892@gmail.com>
Acked-by: default avatarJohn Stultz <john.stultz@linaro.org>
Signed-off-by: default avatarSumit Semwal <sumit.semwal@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220104073545.124244-1-o451686892@gmail.com


(cherry picked from commit 54329e6f)
Signed-off-by: default avatarLee Jones <joneslee@google.com>
Change-Id: I6344308cf95647849e97766e4405d428934ea6e8
parent c8f988d0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment