linux-uconsole/drivers/gpu
Laura Abbott 23aedd872e gpu: ion: Don't call ion_buffer_put on error path
If dma_buf_fd fails, the dma_buf needs to be cleaned up by
calling dma_buf_put. dma_buf_put will call ion_dma_buf_release
which in turn calls ion_buffer_put to clean up the buffer
reference. Calling ion_buffer_put after dma_buf_put drops the
reference count by one more which is incorrect. Fix this by
getting rid of the extra ion_buffer_put call.

Change-Id: Ieb3a7b781bf2dc299c45384dbf0a12d186adeb22
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
2013-07-01 13:40:55 -07:00
..
drm drm/qxl: add missing access check for execbuffer ioctl 2013-06-28 13:27:40 +10:00
host1x drivers/gpu/host1x/drm: don't check resource with devm_ioremap_resource 2013-05-18 11:55:30 +02:00
ion gpu: ion: Don't call ion_buffer_put on error path 2013-07-01 13:40:55 -07:00
vga fbcon: fix locking harder 2013-02-08 12:02:43 +10:00
Makefile gpu: ion: Add ION Memory Manager 2013-07-01 13:40:35 -07:00