Skip to content
Commit 5a9a37e3 authored by Dave Stevenson's avatar Dave Stevenson Committed by Dom Cobley
Browse files

vc04_services: vcsm-cma: Detach from the correct dmabuf



Commit d3292dae ("dma-buf: Make locking consistent in dma_buf_detach()")
added checking that the same dmabuf for which dma_buf_attach
was called is passed into dma_buf_detach, which flagged up
that vcsm-cma was passing in the wrong dmabuf.

Correct this so that we don't get the WARN on every dma_buf
release.

Signed-off-by: default avatarDave Stevenson <dave.stevenson@raspberrypi.com>
parent 45cbc55d
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