Skip to content
Commit b6fa0cd6 authored by Rob Clark's avatar Rob Clark Committed by Sumit Semwal
Browse files

dma-buf: might_sleep() in dma_buf_unmap_attachment()



We never really clarified if unmap could be done in atomic context.
But since mapping might require sleeping, this implies mutex in use
to synchronize mapping/unmapping, so unmap could sleep as well.  Add
a might_sleep() to clarify this.

Signed-off-by: default avatarRob Clark <rob@ti.com>
Acked-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: default avatarMaarten Lankhorst <maarten.lankhorst@canonical.com>
Signed-off-by: default avatarSumit Semwal <sumit.semwal@linaro.org>
parent f01af9f8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment