commit | cec4fa7511ef7a73eb635834e9d85b25a5b47a98 | [log] [tgz] |
---|---|---|
author | Jean-Jacques Hiblot <jjhiblot@ti.com> | Thu Oct 10 13:59:53 2019 +0200 |
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | Fri Oct 11 17:00:53 2019 +0300 |
tree | 6ff8fa04992ee647187d7e8d3c035d4525eb759d | |
parent | b23ab6ac6d768f9d5b03b5a67bf48a6be6e1dcce [diff] |
drm/omap: use refcount API to track the number of users of dma_addr This would give us a WARN_ON() if the pin/unpin calls are unbalanced. Proposed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com> Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Link: https://patchwork.freedesktop.org/patch/msgid/20191010120000.1421-2-jjhiblot@ti.com