commit | 420ae1e2623af92e71437e403fd11de48e11551f | [log] [tgz] |
---|---|---|
author | Inki Dae <inki.dae@samsung.com> | Fri Jan 11 13:38:28 2013 +0900 |
committer | Inki Dae <inki.dae@samsung.com> | Fri Jan 25 14:38:44 2013 +0900 |
tree | 238e21992b1ecff7c0f79f7633599d4445aeef2c | |
parent | e7808df1af8801cf4f2ac16be25db1b079b5da4c [diff] |
drm/exynos: free sg object if dma_map_sg is failed This patch releases sgt's sg object allocated by sgt_alloc_table correctly. When exynos_gem_map_dma_buf was called by dma_buf_map_attachmemt(), the sgt's sg object was allocated by sg_alloc_tale() so if dma_map_sg() is failed, the sg object should be released. Signed-off-by: Inki Dae <inki.dae@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>