Commit 8d44cb1a authored by T.J. Mercier's avatar T.J. Mercier Committed by Treehugger Robot
Browse files

ANDROID: dma-buf: heaps: Don't lock unused dmabuf_page_pool mutex



On backports where the dmabuf_page_pool mutex could not be completely
removed because of KMI constraints, we lock the mutex to prevent anyone
from acquiring it. While this is fine for regular builds, lockdep
reports a deadlock because of this behavior. So here we remove the call
to mutex_lock for this unused mutex.

Bug: 269576779
Bug: 271556415
Fixes: d55aeb40 ("BACKPORT: ANDROID: dma-buf: heaps: replace mutex lock with spinlock")
Change-Id: Ic426b6e435ec4ac7b0355c50ec9ea14d38acfa43
Signed-off-by: default avatarT.J. Mercier <tjmercier@google.com>
parent 4e11c7b3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment