From: YoungJun Cho Date: Wed, 26 Jun 2013 01:21:40 +0000 (+0900) Subject: drm/prime: fix to put an exported dma_buf for adding handle failure X-Git-Tag: v3.11-rc1~65^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d8f06ac901300e0b517a263f571531ca27e47b6;p=pandora-kernel.git drm/prime: fix to put an exported dma_buf for adding handle failure When drm_prime_add_buf_handle() returns failure for an exported dma_buf, the dma_buf was already allocated and its refcount was increased, so it needs to be put. Signed-off-by: YoungJun Cho Signed-off-by: Seung-Woo Kim Signed-off-by: Kyungmin Park Signed-off-by: Dave Airlie --- Reading git-diff-tree failed